林微
林微,一个年轻的博主。
展开
-
[19th of series6] Step12: Handle Bitcoin Transaction Types
This blog is going to analyze Bitcoin transaction types, transaction fees, and transaction sizes.We going to use Python-Bitcoinlib to analyze transaction types.First, we handle all transactions of a given block and group them into different types according原创 2022-10-03 11:36:02 · 1005 阅读 · 0 评论 -
[18th of series6] Step11: Get the Daily Block Rewards (of a Given Day)
This blog is going to get the daily block rewards.This part is going to calculate the daily block rewards of a given day. In particular, we are going to calculate the daily block rewards on May 12, 2020, and May 13, 2020, as well.First, we implemented a Py原创 2022-10-03 11:31:07 · 482 阅读 · 0 评论 -
[17th of series6] Step10: Transaction Selection Policy of the Bitcoin Network
This blog is going to explore the transaction selection policy of the Bitcoin network.This part is going to calculate the transaction selection policy for top mining pools, i.e., AntPool, F2Pool, BTC.com, and ViaBTC.First, we implemented a Python data hand原创 2022-10-03 11:24:11 · 847 阅读 · 0 评论 -
[16th of series6] Step9: Transaction Delays of the Bitcoin Network
This blog is going to explore the transaction delays of the bitcoin network.This part is going to calculate transaction delays.First, because calculating the transaction delays for all blocks is costly. To make it more efficient, we only focus on the targe原创 2022-10-03 11:20:57 · 304 阅读 · 0 评论 -
[15th of series6] Step8: Throughput of the Bitcoin Network
This blog will calculate the throughput of the bitcoin network.This part is going to calculate the number of transactions per block. The input file is standard_timestamp_output.csv . The output files are standard_lentxs_antpool.csv , standard_lentxs_f2pool原创 2022-10-03 11:13:45 · 262 阅读 · 0 评论 -
[14th of series6] Step7: Timestamps when Data Server Received Blocks
Because the timestamp of blocks could be inconsistent since miners may have different system clock, to solve this problem, we introduced the timestamps when data servers first received new blocks.This part is going to implement a Python crawler to collect原创 2022-10-02 22:48:34 · 291 阅读 · 0 评论 -
[13th of series6] Step6: Blocksize and Empty Blocks of Top Mining Pools
This blog is going to get block size and empty blocks of the top mining pools: AntPool, F2Pool, BTC.com, and ViaBTC.This part is going to handle transaction types and Bitcoin SegWit protocol for top mining pools.First, we implement a Python tool to handle原创 2022-10-02 22:45:56 · 236 阅读 · 0 评论 -
[12th of series6] Step5: Mining Revenues of Top Mining Pools
This blog is going to get mining revenues of the top mining pools: AntPool, F2Pool, BTC.com, and ViaBTC.First, we get mining revenues of top mining pools from the all_ver9.csv . The mining revenues of top mining pools can be calculated via: mining revenue原创 2022-10-02 22:43:12 · 451 阅读 · 0 评论 -
[11th of series6] Step4: Bitcoin Market Info
This blog is going to get some Bitcoin market information of an overall Bitcoin network.We are going to explore the Bitcoin market price in the unit of USD.First, we get the Bitcoin price from https://www.coindesk.com/price/bitcoin.https://finance.yahoo.co原创 2022-10-02 22:35:20 · 426 阅读 · 0 评论 -
[10th of series6] Step3: Hash Rate of Top Bitcoin Mining Pools
This blog is going to depict the hash rate of top Bitcoin mining pools: AntPool, F2Pool, BTC.com, and ViaBTC.The hash rate of the Bitcoin network is approximately equivalent to the ratio of mining difficulty to block time. We get the hash rate data from th原创 2022-10-02 22:19:11 · 621 阅读 · 0 评论 -
[9th of series6] Step2: Dominating Computing Power of the Bitcoin Network
This blog is going to analyze the dominating computing power of the Bitcoin network over a period of time.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 mini原创 2022-10-02 22:10:24 · 357 阅读 · 0 评论 -
[8th of series6] Step1: Label Each Block’s Mining Pool
This blog is going to label each block’s mining pool via Python crawler.We are going to implement a Python crawler to crawl each block’s mining pool. There are two inputs: start_blockid and end_blockid . In this case, start_blockid=615527 and end_blockid=6原创 2022-10-02 22:03:52 · 280 阅读 · 0 评论 -
[7th of series6] Labeling Confirmation Status of Bitcoin Unconfirmed Transactions
AbstractOur previous blog showed how to detect each block’s mempool (i.e., collection of each block’s mempool). This blog is going to label which transaction was accepted by the block and which transaction was rejected by the block.1. Labeling Unconfir原创 2021-02-03 10:08:17 · 87 阅读 · 0 评论 -
[6th of series6] Handling Bitcoin Unconfirmed Transactions
AbstractTransactions are collected from the Mempool and stored at a specific block. This blog is trying to detect each block’s mempool, such that we will know what kind of transactions will be collected.1. Detect New Bitcoin BlocksThis part is going to原创 2021-02-03 10:02:30 · 250 阅读 · 0 评论 -
[5th of series6] Use MongoDB to Save Bitcoin Transaction/Blocks
AbstractThis blog is going to use MongoDB to save Bitcoin transactions and blocks.1. Installation of MongoDB v2.6.10This part is going to install MongoDB v2.6.10 in Ubuntu16.04 LTS.First, we follow the official tutorial or our previous blog to install原创 2021-01-28 16:39:46 · 100 阅读 · 0 评论 -
[4th of series6] Get Transaction Fees of Confirmed Transactions via Python-Bitcoinlib v0.9.0
AbstractThis blog is going to calculate the transaction fees of each non-coinbase transaction in a specific block via Python-Bitcoinlib v0.9.0. By the way, Bitcoin transactions have two types: coinbase transactions and non-coinbase transactions, where the原创 2021-01-28 16:27:18 · 130 阅读 · 0 评论 -
[3rd of series6] Get General Information and Statistics of Confirmed Transactions via Python-Bitcoin
AbstractThis blog will discuss the method of getting general information and statistics of confirmed transactions via Python-Bitcoinlib v0.9.0.1. Example OneExample one is going to do some statistics on “vouts” of a transaction. It means that a bitcoin原创 2021-01-28 15:50:30 · 208 阅读 · 0 评论 -
[2nd of series6] Get General Information and Statistics of Confirmed Transactions via Python-Bitcoin
AbstractThis blog will discuss the method of getting general information and statistics of confirmed transactions via Python-Bitcoinlib v0.9.0.1. Example OneThe first example is going to get the number of transactions in a specific block. For example,原创 2021-01-28 15:38:23 · 224 阅读 · 1 评论 -
[1st of series6] Installation of Python-Bitcoinlib v0.9.0
AbstractThis blog is about the installation of Python-Bitcoinlib in Ubuntu 16.04.1. Installation of Bitcoin Core of (v0.15.1.0-g7b57bc998f)Python-Bitcoinlib is a tool that can interact with the Bitcoin core. So, before installing Python-Bitcoinlib, we原创 2021-01-28 15:28:40 · 182 阅读 · 1 评论 -
Bitcoin Blockchain数据建模分析 -- 1pyton-bitcoinlib的安装
1. 安装python-bitcoinlibpython-bitcoinlib是一个支持程序化交互Bitcoin Blockchain数据的工具。下面我们讲解如何安装使用python-bitcoinlib进行Bitcoin Blockchain数据的自动程序化交互。安装python-bitcoinlib的命令如下,~$ sudo apt-get install libssl-dev~$ p...原创 2019-03-07 17:09:25 · 1106 阅读 · 0 评论 -
Hyperledger Fabric v1.1 --【A-9/9】Kafka 多机手动部署
在成功配置和Hyperledger Fabric网络系统,成功创建了用户,且成功创建Channel之后,本文介绍合约的安装和使用。1. 安装合约下载编译合约。$ go get github.com/introclass/hyperledger-fabric-chaincodes/demo$ cd $HOME/go/src/github.com/introclass/hyperledger...原创 2020-10-19 10:25:19 · 127 阅读 · 0 评论 -
Hyperledger Fabric v1.1 --【A-8/9】Kafka 多机手动部署
上上篇博客成功配置和Hyperledger Fabric网络系统,上一篇博客成功创建了用户。本文主要介绍Hyperledger Fabric的channel创建。1. 配置channel步骤1.1. 创建生成channel.tx备用。~/fabric-samples$ ./bin/configtxgen -profile TwoOrgsChannel -outputCreateChanne...原创 2020-10-19 10:14:50 · 119 阅读 · 0 评论 -
Hyperledger Fabric v1.1 --【A-7/9】Kafka 多机手动部署
上一篇博客成功配置和Hyperledger Fabric网络系统,本文主要介绍Hyperledger Fabric的用户创建。1. Admin@org1.example.com用户步骤1.1. 创建Admin@org1.example.com文件夹,该文件夹包括超级用户运行时所需的全部文件。~/fabric-samples$ mkdir Admin@org1.example.com步骤...原创 2020-10-19 09:58:48 · 111 阅读 · 0 评论 -
Hyperledger Fabric v1.1 --【A-6/9】Kafka 多机手动部署
1. 配置Peer/Orderer所属IP方案如表所示。物理机器Hyperledger Fabric部件192.168.0.103orderer.example.com192.168.0.103peer0.org1.example.com192.168.0.106peer0.org2.example.com步骤1.1. "192.168.0.103"...原创 2020-10-19 09:48:26 · 121 阅读 · 0 评论 -
Hyperledger Fabric v1.1 --【A-5/9】Kafka 多机手动部署
1. 部署kafkaubuntu00机器上,下载v1.1版本的kafka,其中,kafka的官网下载地址如下,$ wget https://archive.apache.org/dist/kafka/1.1.1/kafka_2.12-1.1.1.tgz$ tar -xvf kafka_2.12-1.1.1.tgz$ cd kafka_2.12-1.1.1/1.1. 启动zookeepe...原创 2020-10-19 09:16:52 · 134 阅读 · 0 评论 -
Hyperledger Fabric v1.1 --【A-4/9】Solo 多机手动部署
在成功配置和Hyperledger Fabric网络系统,成功创建了用户,且成功创建Channel之后,本文介绍合约的安装和使用。1. 安装合约下载编译合约。$ go get github.com/introclass/hyperledger-fabric-chaincodes/demo$ cd $HOME/go/src/github.com/introclass/hyperledge...原创 2020-10-19 12:00:28 · 192 阅读 · 0 评论 -
Hyperledger Fabric v1.1 --【A-3/9】Solo 多机手动部署
上上篇博客成功配置和Hyperledger Fabric网络系统,上一篇博客成功创建了用户。本文主要介绍Hyperledger Fabric的使用。1. 创建channel步骤1.1. 创建生成channel.tx备用。~/fabric-samples$ ./bin/configtxgen -profile TwoOrgsChannel -outputCreateChannelTx mych...原创 2020-10-19 11:53:38 · 173 阅读 · 0 评论 -
Hyperledger Fabric v1.1 --【A-2/9】Solo 多机手动部署
上一篇博客成功配置和Hyperledger Fabric网络系统,本文主要介绍Hyperledger Fabric的用户创建。1. Admin@org1.example.com用户步骤1.1. 创建Admin@org1.example.com文件夹,该文件夹包括超级用户运行时所需的全部文件。~/fabric-samples$ mkdir Admin@org1.example.com步...原创 2020-10-19 11:41:33 · 132 阅读 · 0 评论 -
Hyperledger Fabric v1.1 --【A-1/9】Solo 多机手动部署
多机手动部署过程https://www.lijiaocn.com/项目/2018/04/26/hyperledger-fabric-deploy.html原创 2020-10-19 10:58:23 · 226 阅读 · 0 评论