[英]How to read Blockchain Data ( .dat and .ldb files )?
Bitcoin Core download a two directory : /blocks and /chainstate. Bitcoin Core下载两个目录:/ blocks和/ chainstate。
/block have a .dat file , /chainstate have a .ldb file. / block具有.dat文件,/ chainstate具有.ldb文件。
How can i read this file?* I need have info about all transaction and adress amount. 我如何读取此文件?*我需要有关所有交易和地址的信息。
1) adress 1 -> amount -> adress 2 1)地址1->金额->地址2
2) adrees 3 : amount3 2)adrees 3:金额3
Other info in block don't intrest me. 阻止中的其他信息不会吸引我。
*API blockchain.info or other API don't intrest me. * APIblockchain.info或其他API不会吸引我。
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 https://github.com/znort987/blockparser
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.