Major Hive Witness Essentials Upgrade - V2

in Hive Governancelast month (edited)

image.png


Hivers, it’s been four years since I released the last major version of Hive Witness Essentials.

While it’s been running with a few updates & fixes along the way, four years is a long time in tech and I decided it was time for a complete overhaul.

So, I’m happy to announce that Hive Witness Essentials V2 is now live and ready!

What's new?

The core functionality remains the same but with a major code rewrite: it’s cleaner, more efficient, and — most importantly — much easier to use. Rather than four separate configurations for each tool (watcher, remote, pricefeed and cli), they’re now all combined into one. You can now manage them from a single script, streamlining everything and making it simpler to work with.

If you prefer, you can still run each tool as a separate process, but if not, you’ll enjoy the same functionality with a more user-friendly setup.

Check it out on GitHub: https://github.com/therealwolf42/hive-witness-essentials

Here’s what’s included:

  • Pricefeed - Publish reliable price feeds
  • Watcher - Monitor for missed blocks, switch to backup nodes on failure, and get notified
  • CLI - Command-line interface for quick witness updates, signing-key management, and parameter changes
  • Remote - Full CLI functionality via Telegram.

Getting Started Guide

All essentials (Watcher, Pricefeed, and Remote) support Docker, which is the recommended deployment option.

git clone git@github.com:therealwolf42/hive-witness-essentials.git

# Copy example config
cp config/config.example.json config/config.json

# Edit the config file and replace values as needed
# Ensure each essential's ENABLED flag is set to true/false as desired.
nano config/config.json

# Optional: Ensure script permissions
chmod +x run.sh

# Optional: Install Docker if not yet installed
./run.sh install_docker

# Install dependencies
sudo apt install jq

# Rebuild whenever you update the config, then restart and view logs
./run.sh build && ./run.sh restart && ./run.sh logs

To list available commands and check active essentials, use: `./run.sh help`

(Optional) Installing Node

To use the CLI tool, you’ll need Node.js (version 18+ recommended, ideally the latest LTS v22). Here’s how to install or update it:

sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -

sudo apt-get install nodejs
npm install -g pnpm pm2 && pnpm i

Have Questions?

If you encounter any bugs or have questions, let me know, and I’ll be happy to help!

#HiveOn

Wolf


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


PS: Check out my 7 year anniversary post: https://peakd.com/hive-111111/@therealwolf/year-8

Sort:  

Saw your message, thanks for your effort, have voted for your witness! All the best!

Great job, man! I just voted. All the best.

 last month  

Thank you, I appreciate it!

Approved witness ✅

Good luck!

Smart. Now he can continue dumping all the hive he earns to funnel them in a different chain. Gotta love seeing your investment going down and down thanks to your own actions!

untitled.gif

μιλας σοβαρα??

 last month  

Thank you!

Hola @therealwolf ! Ya voté. Te deseo muchos éxitos

 last month  

Hola @damelysh, gracias!

@therealwolf te apoyo en tu proyecto, uno de mis votos para ti como testigo.
Me gustaría tener mas contacto contigo para conocer mas a profundidad tu proyecto.

Saludos.

imagen.png

 last month  

Gracias, @critic-on!

Watcher has been my favorite fail-over tool. Looking forward to testing the new version.

Thank you for contributing to make Hive better every day, witness approved 👍🏻

 last month  

Thank you, @alborhada!

I have added you as witness.

 last month  

Thank you, @erica005!

Hola, ya te di mi voto. Te mando muy buenos deseos, que tengas mucha suerte!!

 last month  

Gracias, @gltorres12!

Lwtss fking gooo!! Best of luck on here homie.

!ALIVE !LUV !DOOK

 last month  

Thank you, @fonestreet!

Yo bro i can't vote by hivesinger, do u have a Ecency link to ur witness?

Done bro, I already gave you my vote!!

 last month  

I appreciate it, @lyon-89!

 last month  

Got it, thanks for letting me know!

Looking good! Any chance to get a fresh new how to start a node from scratch? For some reason those seem to be lacking around here lol

 last month  

I would probably recommend https://peakd.com/hive-160391/@gtg/hive-node-setup-for-the-smart-the-dumb-and-the-lazy

Otherwise, you could try and make https://github.com/Someguy123/hive-docker work, but the dlblocks doesn't seem to work anymore and my guess is that the one by gtg will be the most updated.

These days there's no point to downloading the blocks. It's easier to just live sync.

Yes, the HIAB block download doesn't work and when you try to replay from a gtg blocklog it creates a massive blocklog index that expanded to 462Gb and ate all the space on the 1Tb NVMe.

I think we need to declare HIAB dead unless @someguy123 does some updates.

HIAB works just fine if you either manually download blocks or just live sync(live sync is easier and usually faster unless you store the block log file yourself). I'll mention removing that feature though.

I just voted

 last month  

Thank you, @theithei!

What does this necessarily do?
Is it like an ADD-on to manage your witness on Hive, making it easier in the traditional way?

 25 days ago  

Kind of. It's actually multiple tools in one. One to broadcast your pricefeed (the price of HIVE on Hive - the blockchain - is determined that way), one to watch your witness servers in case they're misbehaving and another one to manage your witness (i.e. in case the previous is the case). So partly to make it easier and partly required. I'm not the only who builds these tools, but I think mine are a good choice.

@solominer you should check this out.. it might save you electric.. I personally have no idea though (not a nerd) ..I just know you set one up ..

Congratulations @therealwolf! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You published more than 450 posts.
Your next target is to reach 500 posts.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Thanks for everything you guys do!

C: GG thats a good update

PIZZA!

$PIZZA slices delivered:
@danzocal(1/10) tipped @therealwolf

Remote via telegram? Yup! I voted. Great job.😀

 last month  

Thank you, @theworldaroundme - I appreciate it!

Having the remote access & notifications via telegram is quite handy as a witness to have. 🙂

image.png

(these messages were just for testing purposes - no blocks were harmed in the making of this screenshot)

Absolutely agree! 👍

Dear Mr R Wolf.
It has been 7 years since I began to ask for assistance from the Hive blockchain. While I am just above stupid enough to know a witness is important. The value of who the witness is, is lost to me.

Now my puny 2.5K HP I do not would make much difference to your status on the totem pole of witnesses. Because having it there or not does not impact the blockchain positive or negative.

Vote requests to support a witness. I am happy I pushed for that degrading impunity to a cast vote. It does seem to bring more interaction with members of the community.

I am sure, there is part of you that does not trust politicians. I wonder why witness begave the same.

There was a time. That while I would fight with all of you about the future of the blockchain. There was a core feeling of getting the blockchain right. Though the agreement on right got to personal benefit very quick.

The only thing I have noticed. Is 2.5K does not travel very far. If the number was 10K or 20K would my words be read by more.

@brianoflondon will be around in a few month too. Seeking a renewal to a vote which will not come.

So I am on my way to share you a simple vote that cost me not a thing. The next time you seek a vote. Why are you different to @brianoflondon?

Hey bro! @therealwolf I just saw your message, you have my vote! You have my support!

 25 days ago  

Thank you, @zgaetano!

Perfect timing - let's chat about some work that we've been doing..

@therealwolf messaged you on MM 😎

Hello, I wish you success. Blessings.

 25 days ago  

Thank you, @sayury!

Hola, thank you for the hive sent to me.

 25 days ago  

No problem!

Just voted. Keep up the good work.

 25 days ago  

Thank you, @darthnava!

Had to check and bumped into your proposal request, let me support it 👍

I just cast my vote brother, wishing you the best in the future

 25 days ago  

Thank you, @theringmaster!

Great work @therealwolf , I've just voted!

 25 days ago  

Thank you, @juliusyls!

VOTED

 25 days ago  

Thank you, @thonykx01!