In the first video you can see how I setup it (0-4min) and how I manually caused a fork to my testnet node (4min).
The script will autorebuild (23.55min), enable the forging and at the finish of the video forge a block.
For this video I've manually deactivate the checkHeight function of the script for demo purposes.https://youtu.be/lZxj3h-Zm8E
In the second video all the script checks are activated and as you can see when a blockchain height problem is detected (node dead or delayed of N blocks) the script reload or restart automatically the node.https://youtu.be/SsMfO_bOidE
The script enable itself the forging when the sync is finished.
I'm using it right now on mainet and testnet
In the repository there are 3 main branch
- master (script handle 1 node self rebuild and reload based on missed delegate round and blockchain height)
- testnet (script handle 1 node self rebuild and reload based on missed delegate round and blockchain height)
- switch-forging (script handle 2 node self rebuild and reload based on missed delegate round and blockchain height and it switch the forging btw the master and slave node if the master is inadaquate to forge) --> still testing it
Please let me know if do you need help and consider to vote my delegates LISKIT!