当前位置: 首页 > 工具软件 > py-bitcoin > 使用案例 >

[9th of series6] Step2: Dominating Computing Power of the Bitcoin Network

经和歌
2023-12-01

Abstract

This blog is going to analyze the dominating computing power of the Bitcoin network over a period of time.


1. Get Timestamp of Each Block

This part is going to get the timestamp of each block. We implemented a python tool to interact with bitcoin.RPC. The input of the python tool is miningpool.csv . The output of the python tool is miningpooltimestamp.csv .

$ cd $HOME/ubuntutu/test
$ sudo python [readblock_timestamp.py](https://gist.github.com/fdaf645f78953135a38688de49677bae#file-readblock_timestamp-py)

Finally, the output is miningpooltimestamp.csv .

后续,我们处理每一个block的timestamp

$ sudo python readblock_timestamp.py // the same code

后续,数据的结果如下,

 类似资料:

相关阅读

相关文章

相关问答