My main witness node crashed for no reason when I was asleep around 1.AM midnight.
Thanks for @fancybrothers who notified me on the discord channel. When I got the message, it has been 5 hours and I 've missed 310 blocks.
Sh*t happens!
Thus, I decide to write a tool that monitors the witness node, in case of failure, it will detect and switch to your backup node.
Project: https://github.com/DoctorLai/SteemWitnessAutoSwitch
It is easy to use: you first need to configure:
{
"account": "Your Steem Witness Account",
"key": "Your Active Key",
"signing_keys": [
"Witness Signing Key 1",
"Witness Signing Key 2",
"STM1111111111111111111111111111111114T1Anm"
],
"url": "https://steemyy.com",
"fee": "3.000 STEEM",
"interval": 60,
"period": 360,
"threshold": 4
}
Make the last siging key disabled one so it will disable your node in case all your witness nodes are down. I have taken out the code to send a email for notification since it is quite customised to my settings but you can easily add it, the easily way to send a email would be to launch the mail
utility.
The default setting is to switch if there are 4 missed blocks in the last 6 minutes. You can adjust if you are outside TOP 20. The interval
is the time interval to check if there are new misses.
Last but not least, I would recommend running this using screen
or pm2
Every little helps! I hope this helps!
Steem On!~
If you like my work, please consider voting for me, thanks!
https://steemit.com/~witnesses type in justyy and click VOTE
Alternatively, you could proxy to me if you are too lazy to vote!
Also: you can vote me at the tool I made: https://steemyy.com/witness-voting/?witness=justyy
太棒了,这个功能非常需要,尤其在节点不稳定的前提下
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
感谢大佬!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
thnxs
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
How do I get your attention...???
I've been around three years, and I still feel invisible...
June 8, 2020... 12.1 Hollywood Time
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
https://steemit.com/cyptonew/@faiz.rehman/bitcoin-news-or-or-russia-gets-tougher-on-crypto
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I'd rather see a few words from you, instead of an entire link...
June 9, 2020... 7.8 Hollywood Time...
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
$trdo
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @theguruasia, you successfuly trended the post shared by @justyy!
@justyy will receive 17.66810475 TRDO & @theguruasia will get 11.77873650 TRDO curation in 3 Days from Post Created Date!
"Call TRDO, Your Comment Worth Something!"
To view or trade TRDO go to steem-engine.com
Join TRDO Discord Channel or Join TRDO Web Site
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @justyy, your post successfully recieved 17.66810475 TRDO from below listed TRENDO callers:
To view or trade TRDO go to steem-engine.com
Join TRDO Discord Channel or Join TRDO Web Site
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
https://steemit.com/cyptonew/@faiz.rehman/bitcoin-news-or-or-russia-gets-tougher-on-crypto
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit