Witness Essentials: Watcher v1.0.2

in witness-category •  2 months ago


Witness Essentials: Watcher received an update, which includes:

  • New command: test which can be used to test notifications & failover in case of missed blocks.
  • After a specific time, since the last missed block (1 day default), key-rotation rounds and the missed block threshold will be reset to prevent unnecessary failover
  • The interval variable inside config.json is in minutes but has been in seconds in code. This has been changed to minutes now.

Github: https://github.com/witness-essentials/watcher
PR: https://github.com/witness-essentials/watcher/pull/3 (plus PR #4 and #5)

What is Witness Essentials?

Witness Essentials is a collection of important tools for witnesses.

Witness Essentials: Watcher is a script for Steem Witnesses to watch for missed blocks, failover towards backup-nodes & alert via multiple services.

  • Multiple alert options available (TELEGRAM, SMS <NEXMO, TWILIO>, EMAIL)
  • Transaction signing either via private signing-key or private active-key
  • RPC Failover
  • Rotation between keys supported
  • Robust error handling

Github Organization: https://github.com/witness-essentials

Getting Started

You can find a detailed guide on Github

Update Information

  • Update your packages if you're running it locally (npm update/yarn)
  • Add "MAX_AGE_LAST_MISSED_DAYS": 1 to your config.json. 1 is the default value and should be replaced depending how long it takes for your witness to produce a block.
  • For testing, simply run: npm run test or yarn run test. You're then able to choose between testing failover via real key signing (+ choose if you want to skip disabling of witness) and testing notifications.
  • Make sure the interval(minutes) inside config.json is correctly set

Quick note: the test command is currently not available via docker, only directly via npm/yarn.

Alright, that's it regarding the new update.

I hope my fellow witnesses find this useful as monitoring & watching your witness-nodes is quite important.

All the best,

Do you believe that my work is valuable for Steem? Then please vote for me as witness.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thanks for the contribution, @therealwolf! A great update as always, and I'm sure it be helpful for all the witnesses who use it!

I don't really have anything to remark about the quality of the code, as that seems mostly great, but there a couple of (tiny, insignificant) things that could be fixed by using ESLint for example. Other than that there is really not much to say, other than keep up the great work you are doing for Steem!

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.

Need help? Chat with us on Discord.



Thank you for your review, @amosbastian! Keep up the good work!


Thank you @amosbastian, yes I need to work on ESLint and unit-tests!

ǝɹǝɥ sɐʍ ɹoʇɐɹnƆ pɐW ǝɥ┴

I VOTED for YOU as WITNESS long ago and recently used the @smartsteem service and did a post about it.

Why? because I believe in your work! :)

Keep on Burning!


Hey buddy

I maybe jusy spitballing here with this thought.

Twitch & Steem (would make the perfect parternship)

Dont get me wrong here as i am not the most up to date how the blockchain works but as far as i am aware you can record an event without ot being altered.

With this being said i think gaming results being recorded would be a major breakthrough.

Let me give you an example of my idea

Lets take the game Call of Duty:
Lots of gamers play this and a lot of the top players are on twitch.

Lets say player pewdiepudding stats are tracked on the blockchain.

And the player has an automatic post generated on the steemit blockchain and the player has the option of uploading automatically the days best 5 frags to dtube.

This would give gamers a way to show appreciation by upvoting there favourite gamer and also being able to see true stats.

The last sentence, (Do you believe that my work is valuable for Steem? Then please vote for me as witness.) Without thinking twice answer Yes. I am pretty sure that you spend a lot of time for everyone. respect

Very good work! I hope witnesses find this useful! :)

Posted using Partiko Android

Hi @therealwolf!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Great work been done by you witness to keep steem growing and steemit moving forward. Continue to move forward in your

Hi, @therealwolf!

You just got a 0.58% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

Hey, @therealwolf!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Congratulations @therealwolf! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You made more than 14000 upvotes. Your next target is to reach 15000 upvotes.

Click here to view your Board
If you no longer want to receive notifications, reply to this comment with the word STOP

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @therealwolf!
Your post was mentioned in the Steem Hit Parade in the following category:

  • Pending payout - Ranked 10 with $ 84,61

This post has been included in the latest edition of SOS Daily News - a digest of all you need to know about the State of Steem.

Thank you for another good update @therealwolf 👍🏼


  • Can you add a Dollar Amount to the Portfolio Tracker so that I can track the value of my entire Steem portfolio?

That would be VERY useful!

I found an error in Portfolio Tracker @therealwolf.

  1. The total balance doesn't include the Steem held in a person's Savings.