Hive-Engine Witness Setup, Part 3 - Catching the blockchain with Hive-Engine Witness Node

in LeoFinance2 months ago (edited)

This is the third part of the Hive-Engine Witness Setup story. You can find the first two parts here:


Catching up with the blockchain

In the second part of this adventure, on Sunday evening, we were left several blocks behind the train.

Now it's Monday morning at 5 am and the log tells us ...

Sometime during the night on Monday ... the chain train was caught!

2021-02-08 06:59:18 info: [Streamer] head_block_number 51141918 currentBlock 51141920 Hive blockchain is 0 blocks ahead

Registering the witness

.

Registered

image.png

Voting for myself and jumping up to rank 22.

image.png

Great!

When will my witness sign its first block? Hopefully, soon.

At the moment ...

0|engwit  | 2021-02-08 07:15:02 info: [Blockchain] witness apiculture signed round 14184
0|engwit  | 2021-02-08 07:15:02 info: [Blockchain] witness enginemaker signed round 14184
0|engwit  | 2021-02-08 07:15:02 info: [Blockchain] witness hewitness signed round 14184
0|engwit  | 2021-02-08 07:15:02 info: [Blockchain] witness ausbit.dev signed round 14184
0|engwit  | 2021-02-08 07:15:02 info: [Blockchain] witness eturnerx-honey signed round 14184

Top witnesses are signing every block, obviously.


Thank you, @rishi556 and @blervin for providing the scripts. Thank you, @bala41288, for your support.

By the way, my friend @primersion has added a fabulous Hive-Engine witness monitor to his HIVE Monitor pages.

image.png

Now, back to bed, and in the morning I'll do a proper Hive-Engine witness announcement letter.

Ps: I did watch the Superbowl, the second quarter. In the halftime break, I decided to call it the night. It was one-way traffic with much too many errors on the Chiefs side. How did it end? Checking the news ... Tampa Bay won easily. It was a good decision to go to bed.

So, good night again and good morning in few hours.


Better and better

Posted Using LeoFinance Beta

Sort:  

Also if ur still up by any chance it looks like your ports might still be closed. You need your p2p port(5001 by default) open at the very least.

Hey, thanks. It looks like the enable command didn't execute.

Now I did the whole batch by hand:

root@hive-engine:/var/lib# sudo ufw allow ssh
Rules updated
Rules updated (v6)
root@hive-engine:/var/lib# sudo ufw allow 5001
Skipping adding existing rule
Skipping adding existing rule (v6)
root@hive-engine:/var/lib# sudo ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
Firewall is active and enabled on system startup

I Assumed that while registering the witness the register script checks if the port is available from outside. I guess it doesn't.

Now for the update ...

Posted Using LeoFinance Beta

Hey, there's been an update and by wednesday 1 AM UTC you'll need to update to v1.2.0 which is currently on the hive-engine branch or this tag: https://github.com/hive-engine/steemsmartcontracts/tree/he_v1.2.0. Just pulling in the changes and restarting should be good as long as you do it before the date. (Don't be like me forget that config needs to get changed to have witnessEnabled to true when starting back up).

Your current Rank (8) in the battle Arena of Holybread has granted you an Upvote of 16%

Great to hear your witness is up and running - I just casted a vote for you :)

Also as @rishi556 said your ports may be closed still, after you check that I am sure you will be signing your first block soon!

If the port is closed he'll be missing rounds since other witnesses won't be able to communicate with him.

Yeah that's what I meant :D I guess it won't matter for now, because it will take some time until he signs a block and hopefull he will fix it until then

Thanks for the mention and for getting involved, I hope my script was helpful and definitely reach out with questions!

Du wurdest als Member von @investinthefutur gevotet!
Dazu noch ein kleines !BEER & VOIN-Token


Hey @ervin-lemark, here is a little bit of BEER from @investinthefutur for you. Enjoy it!

Learn how to earn FREE BEER each day by staking your BEER.

I'm always in Discord, if you have any questions :)