It's mostly untested and isn't my best code, so run it on your own risk :)
- Bitcoin XT full node
- PHP 5.6+ with Curl
- PostgreSQL
- Any webserver in case you want to show the data
- Set up a Bitcoin XT testnet full node, set
rpcuser,rpcpassword,rpcport,testnet=1andserver=1inbitcoin.conf - Connect to as many XT nodes as possible. See https://www.reddit.com/r/bitcoinxt/comments/3s08sl/bip101_on_testnet_is_coming_want_to_help/
- You need to set up a PostgreSQL database, then run a script from
sql.sql - Update
config.phpwith your settings, "daemon" configuration (login, password and port) should correspond to the values frombitcoin.conf(rpcuser, rpcpassword, rpcport) - Set up a cron service to run
/usr/bin/php bootstrap.phpevery 5-10 minutes. Each run will clean and refill the database). That can be done by pasting*/5 * * * * /usr/bin/php /path/to/bootstrap.phpintocrontab -e - You can see the results in
index.php(makeweba public folder)
If you want to analyze more than 1,000 blocks, you might want to change BLOCKS_TO_PROCESS constant in config.php
- by /u/hellobitcoinworld: http://xtnodes.com/#testnet
- by /u/TeranNotTerran: http://23.253.174.52/xttestnetblocks.html
