Look at the witnesses work in real-time (available for the testnet too)

in #witness-category3 years ago

I am actively testing on the testnet before the next hardfork 25 and one of the tools that I was missing is the Witnesses Block Production Schedule.

What is the Witnesses Block Production Schedule?

On the Hive blockchain, blocks are produced by witnesses that are elected by the community. This system is called DPOS. The more votes a witness gets, the more often it will be scheduled to produce (sign) a block.

Having a tool that allows you to know which witness will produce a block, and when, is essential. Indeed, as a witness, if you must deactivate your node, or switch to your backup node, it is better to do so at a time when you are not supposed to produce a block.

As a user, it can be mesmerizing to look at how the blockchain works and is built block by block.

Witnesses Schedule Description

The tool shows the production of blocks as it happens. Here's what it looks like:

There are 2 lists:

1. Witnesses Schedule

This box shows the current round's schedule.

As you can see, every round consists of 21 block producers. A block is produced every 3 seconds. This schedule includes the top 20 witnesses and a backup witness.

Every row has the rank of the witness, what kind of witness they are, the name of the witness, and the block number of the block that the witness produced as it happens.

When a new block is added to the blockchain, the corresponding line is highlighted in green. Past block producers are grayed out.

At the bottom is the Next Block Shuffle Num. This is the number of blocks left before the current list will be shuffled.

2. Backup Witnesses Schedule

This is a list of the next active witnesses in the witness ranking. Disabled witnesses are filtered out and not displayed.

The closer a witness is to the top of the list, the sooner they will be scheduled for the next round. When a new block production round starts, you will see that the backup witness is picked from the top of this list.

Rewritten and made available for testnet too

In wanting to port this tool for use with the testnet, I realized how messy the code was.

So I undertook to rewrite it completely so that it can work with both networks (the mainnet and the testnet) and, above all, that it is more efficient and less resource-intensive. The result is much cleaner and more versatile code.

How can I access this tool?

To access the Witnesses Block Production Schedule page, go to
https://hive.arcange.eu/schedule

If you want to see witnesses producing on the testnet, go to:
https://hive.arcange.eu/schedule?testnet

Enjoy monitoring the work of your favorite witnesses working in real-time.

Thanks for reading.


Check out my apps and services


Vote for me as a witness

Sort:  

Thanks for writing about this, I am very interested to learn how witness nodes operate. This is what makes it all work, the magic under the hood. I have been looking forward to HF25, and I am especially interested in the rumoured recurring transactions feature as well as the community membership options. It seems like new things are being created all the time and I like to explore all the use cases there are. I will try to stay up to date on things. Much appreciation @arcange

pixresteemer_incognito_angel_mini.png
Bang, I did it again... I just rehived your post!
Week 59 of my contest just started...you can now check the winners of the previous week!
!BEER
5


Hey @arcange, here is a little bit of BEER from @pixresteemer for you. Enjoy it!

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

question is can we see if they are wearing pants or not while working? cause we all want to know!!!!

I don't usually.

Pics so we can belive it!!! 😂