Bitcoin Forum
May 05, 2024, 12:52:26 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Another way to track new BIP101 blocks  (Read 486 times)
camponez (OP)
Member
**
Offline Offline

Activity: 63
Merit: 10


View Profile
August 27, 2015, 11: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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!