Witness Block Production Summary & Python Scripts
Hi everyone,
I recently wrote a couple of python scripts to count the number of blocks produced by witnesses and I figured I would post them in case it is helpful to anyone. The first is based off of xeroc's monitor-account.py script and uses xeroc's python-steemlib and is available to use on github. To run it you just need to change the watch_account to the account you want to monitor and the last_block to the block you want to start monitoring from.
Sample output:
The second script will count the blocks produced for a list of accounts. For any account with more than 50 blocks produced, it will output blocks produced, missed blocks the reliability. Currently, to run this script you will need a modified version of the python-steemlib which can be found here. The changes are already in a pull request so this step should only be temporary. This is my first script using python and everything is a work in progress so feel free to make any comments or suggestions.
Sample Output:
These numbers are based on a starting block of 1 and may include blocks produced while mining.
Leave Witness Block Production Summary & Python Scripts to:
Read more # posts
Best Posts From lafona
We have not curated any of lafona's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From lafona
- Steem in CNBC article!
- July 4th Sunset
- Advanced voting FTW: Thoughts of a Steem Tuna/Curator
- Our Wedding
- Top 10 on Coinmarketcap
- Coindesk Article: Is Blockchain the Key to User-Controlled Social Media?
- A Conversation with Ned Scott, CEO of Steemit
- Steemit rewards social media content creators with cryptocurrency
- Witness Block Production Summary & Python Scripts
- Does steem have a referral program