Author

Topic: Another way to track new BIP101 blocks (Read 500 times)

member
Activity: 63
Merit: 10
August 27, 2015, 06:11:43 AM
#1
Hello,

I've wrote this script [1] to help tracking the latest 1000 blocks in order to find how many of them are BitcoinXT blocks.

I know there is already websites like xtnodes.com or blocktrail.com which show in a pretty (with graphs) the (kind of) same information.

But sometimes those sites are off (due to DDoS attacks or whatever) and this script keeps a local database (sqlite) with all the latest 1000 blocks which makes easy to count how many XT blocks have been mined.

Tthe first time the script run, it will load the database with information about the latest 1000 blocks (takes some minutes), and from then on it will update with only the newer blocks, showing a summary using only the latest 1000 blocks.

Hope it helps those who prefer command line scripts! Smiley

[1] https://github.com/camponez/watch-blockchain
Jump to: