简体   繁体   English

如何读取区块链数据(.dat和.ldb文件)?

[英]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.

相关问题 读取和解析区块链 DAT 文件 - Reading & Parsing Blockchain DAT files 如何解析比特币区块链 blkxxxxx.dat 文件,尤其是交易部分 - How to parse bitcoin blockchain blkxxxxx.dat files, especially transaction parts 如何在区块链上存储私人数据? - How to store private data on blockchain? 如何下载区块链交易数据? - How to download blockchain transaction data? 如何使用区块链存储数据 - How to use Blockchain for storing data 有没有办法像存储比特币块的存储格式那样读取.dat文件? - is there a way to read .dat files as in the storage format for bitcoin blocks? 状态数据如何存储在以太坊区块链上? - How is state data stored on Ethereum blockchain? 如何在区块链和超级账本结构中检测到区块链或世界状态中的数据篡改(已添加块的数据)? - how tampering of data (already added block's data) in blockchain or worldstate is detected in blockchain and hyperledger fabric? 如何在Namecoin区块链或任何基于身份的区块链如Emercoin上存储和查询数据 - How is data stored and queried on the Namecoin blockchain, or any identity based blockchain like Emercoin 如何将数据从正在运行的 hyperledgerfabric 区块链传输到新的 hyperledgerfabric 区块链? - How can I transfer data from running hyperledgerfabric blockchain to new hyperledgerFabric blockchain?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM