๐Ÿ‘โ€๐Ÿ—จ pEye Witness Protection - Seeking Witnesses for Beta Testing

last year
I am please to announce a joint multi-chain project with @ceruleanblue called pEye Witness Protection (pWP).
This is the first of many great tools to come from TEAM bHIVE. It is a Raspberry Pi based solution that we are developing to help witnesses monitor their witness nodes. Currently it supports Whaleshares.io and Smoke.io. Today we are releasing a minimum viable product (MVP) and looking for active Beta testers on both platforms. We have some great enhancements in store for version 2 that is currently in the works.

โฐ Why is it needed?


Without some type of monitoring system, witnesses rely on manually keeping an eye on the state and status of their witness nodes. We all know that no one can be watching 24/7 so there are times when if things go wrong with a node it could go many hours before detected. There are scripts out there that can watch a witnesses number of missed blocks, and on increase signal a backup node to take over.

One of these scripts is Witness Failover Script for WS by @kennybll which was used as the foundation for this project. @kennybll also provided technical help to us as well.

You don't want to run the script on the same server as your node because if the server crashes both the node and the monitoring script will go down. Therefore it is common practice to have a 3rd server to host the monitoring script. This means another monthly bill just for monitoring.

Or you can buy a $35 Raspberry Pi mini computer and run pWP right from your home internet. It will pay for itself in just a few months.

๐Ÿšจ What Does it Do?

Version 1 simply stores the brainkey pub_key of your 2 nodes (active and backup) and monitors your witness missed blocks reported by the chain. When a new missed block is reported, the pWP will send the witness update command to the chain and set the backup public key as active. That way next time your witness gets into the block rotation, it will be your newly defined active node that will produce the block. It will also send an email notifying you of the issues in real time.

Version 1 Communications





Version 1 Flow

pWP has the ability to read the current public key from the chain, and will always use the other public key when initiating a switch over. This is to eliminate any *out of sync* scenarios such as reboot/restart of the pWP after a switch over.

๐Ÿ™…โ€โ™‚๏ธ What if I don't have a backup node?


pWP can still be a valuable tool even if you don't have a second node to switch to. By configuring the NULL key as one of your public keys it will prevent subsequent blocks from being assigned to your witness (and missed). So although your witness will be disabled, you will not continue to miss blocks. You will also get the email notification that your witness missed the block and get to address the issue faster.

๐Ÿ‘€ Version 2

Version 2 will be a completely different beast than version 1 which just started as a proof of concept. The biggest enhancement for V2 will be the ability to monitor the state of both nodes and handle issues BEFORE a block is missed. This will be accomplished by pWP communicating directly with the nodes and not relying solely on the chain for input.

Some of the current planned enhancements to V2 are:

  1. Ability to monitor both primary and secondary nodes and identify issues BEFORE a block is missed.
  2. Improved key management and verification
  3. Improved GUI to include status for both nodes
  4. More granular configuration of thresholds
  5. Multi-witness support - TBD
  6. Concurrent multi-chain support -TBD

With the ability to monitor the nodes directly, a more comprehensive approach can be taken to identify problems before a node is called to produce a block. This will also allow for detailed notification emails.

๐Ÿ‘จโ€๐Ÿš€ Beta Testers Wanted

We have been testing pWP V1 on both Whaleshares and Smoke but would like to expand that to cover a larger test base. We are hoping to find a few witnesses on each platform that would be willing to do some controlled testing before just setting and forgetting.

What we mean by controlled testing is to configure a pWP and then invoking a fault on your active witness and monitor the reaction when your witness fails to produce a block. What we don't want is people configuring a pWP and just letting it run unattended right out of the box. We are still in beta, so there is the potential of things going wrong. If you monitor your testing, you can easily rectify any issue and not miss blocks for an extended time period.

โœ๏ธ Sign Me Up!

If you are interested in helping us beta test or you just want to discuss this project more, join us in Discord.



โœ… Support witnesses that support Smoke.io



Make your support count by going to Witness Voting and setting @bbq-iguana on ๐Ÿ”ฅ!




Get 4.2 Free Smoke Power On Sign Up To Start Your Journey On Smoke! The First Cannabis Community That Pays You To Post And Curate Content You Love..
Sort Order: ย Trending
ย  ยท ย last year

Great work. @ceruleanblue and @bbq-iguana. I Love seeing these cross chain collaborations. I would love to see more in the future.

ย  ยท ย last year

Wonderful! We would like to be one of the beta testers. We are out of town for 2 days. And are just using our phone at this point. My husband will contact on discord to help set up this pWP.

You guys are doing amazing job, you have my witness vote! And also my husbands ๐Ÿ‘Œ

With ๐Ÿ’•,
@bgw

ยท
ย  ยท ย last year

Count me in. I was looking for solution to alert me if my server had issue. Thats sound perfect to me. Gonna buy the latest Pi (I needed an escuze...)

ยท
ย  ยท ย last year

Great, looking forward to having you guys help us out.

ยท
ยท
ย  ยท ย last year

Thank you for clarifying all my questions on discord. I have ordered Rasberry pie 3 and the SD card , once it arrives(on Wednesday as per amazon), we will contact you back via discord, either on Wednesday night or Thursday morning

C634F5F5-67E4-4C09-B318-0CB65A83A8F1.jpeg

Thanks,
@betgames

ยท
ยท
ย  ยท ย last year

Getting my Raspberry pi out for this!!! Great freakin job!!

ย  ยท ย last year

Very cool! I have a failover script, but still have to manually run it. I didnโ€™t even think to use one of my PIs. This will be huge! Great work! Count me in.

ย  ยท ย last year

This is awesome! I am in the process of acquiring a backup server, but was not looking forward to getting a 3rd just for the failover switch. I would be happy to do some controlled testing and be able to use this tool! Just joined the discord.

ย  ยท ย last year

Cool!
Voted for your node bro!

ย  ยท ย last year

I just put an order in for a rasberry pi on purse.io Screen Shot 2018-11-20 at 2.49.42 PM.png

ย  ยท ย last year

Failover rocks