It's mostly untested and isn't my best code, so run it on your own risk :)
- Set up a Bitcoin XT testnet full node using
testnet=1
inbitcoin.conf
- You need to set up a postgresql database, then run a script from
sql.sql
- Update
config.php
with your settings - You need to run bootstrap.php to fill the database:
/usr/bin/php bootstrap.php
. That can take quite some time. - After this set up a cron service to run
bootstrap.php
every 10-20 minutes - You can see the results in
index.php
If you want to analyze more than 1.000 blocks, you might want to change FIRST_BLOCK_TO_PROCESS
constant in config.php