简体   繁体   中英

How to read Blockchain Data ( .dat and .ldb files )?

Bitcoin Core download a two directory : /blocks and /chainstate.

/block have a .dat file , /chainstate have a .ldb file.

How can i read this file?* I need have info about all transaction and adress amount.

1) adress 1 -> amount -> adress 2

2) adrees 3 : amount3

Other info in block don't intrest me.


*API blockchain.info or other API don't intrest me.

sudo apt-get install libssl-dev build-essential g++ libboost-all-dev libsparsehash-dev git-core perl

git clone git://github.com/znort987/blockparser.git

cd blockparser && make

https://github.com/znort987/blockparser

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM