Title: How to set bitcoin checkpointdata parameter in checkpoints.cpp Post by: myapple on December 24, 2017, 09:17:43 AM In the file checkpoints.cpp there is a parameter called checkpointdata the second parameter is total number of transactions between genesis and last checkpoint
Actually how can I calculate this value? Title: Re: How to set bitcoin checkpointdata parameter in checkpoints.cpp Post by: achow101 on December 26, 2017, 01:41:18 AM Use a script which requests from Bitcoin Core each block and count the number of transactions in each block. Keep a running sum until you reach the block you want to checkpoint at.
Title: Re: How to set bitcoin checkpointdata parameter in checkpoints.cpp Post by: myapple on December 26, 2017, 08:11:14 AM mining itself will also be counted?
Title: Re: How to set bitcoin checkpointdata parameter in checkpoints.cpp Post by: achow101 on December 26, 2017, 07:06:32 PM mining itself will also be counted? What do you mean by "mining itself"? Mining is not involved in this.Title: Re: How to set bitcoin checkpointdata parameter in checkpoints.cpp Post by: myapple on December 27, 2017, 02:41:27 AM Ah
The number of transactions not includes mining |