Has anyone used this blockchain parser for Bitcoin https://code.google.com/p/blockchain/ ?
I tried to parse blockchain generated by Bitcoin (bitcoind -regtest -daemon) in regtest mode but it is not reading(parsing) it correctly.
I copied the file blk00000.dat (this is the only file generated in regtest mode) to /home/somesh/Desktop/blockchain-read-only/ folder. I executed the command:
Successfully opened block-chain input file '/home/somesh/Desktop/blockchain-read-only/blk00000.dat' Welcome ... Commands available: ... (then prints all the available commands)
then I selected scanning option
The following is the message I get on scanning
Scanning block-chain re-started from block 0 up to a maximum of 500000 blocks..<br> Warning: Missing block-header; scanning for next one. Failed to open block-chain input file '/home/somesh/Desktop/blockchain-read-only/blk00001.dat'<br> Finished scanning block headers. Built block-chain with 0 blocks found..
It is working fine for Bitcoin's real blockchain but not for the blockchain generated in regtest mode.
I think the parser is not able to find the block header in blk00000.dat and is skipping to next file.
Warning: Missing block-header; scanning for next one.
what changes do I have to make ?