Bitcoin Forum
October 21, 2018, 09:41:21 AM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: How to set bitcoin checkpointdata parameter in checkpoints.cpp  (Read 38 times)
myapple
Member
**
Offline Offline

Activity: 100
Merit: 10


View Profile
December 24, 2017, 09:17:43 AM
 #1

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?
1540114881
Hero Member
*
Offline Offline

Posts: 1540114881

View Profile Personal Message (Offline)

Ignore
1540114881
Reply with quote  #2

1540114881
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1540114881
Hero Member
*
Offline Offline

Posts: 1540114881

View Profile Personal Message (Offline)

Ignore
1540114881
Reply with quote  #2

1540114881
Report to moderator
1540114881
Hero Member
*
Offline Offline

Posts: 1540114881

View Profile Personal Message (Offline)

Ignore
1540114881
Reply with quote  #2

1540114881
Report to moderator
1540114881
Hero Member
*
Offline Offline

Posts: 1540114881

View Profile Personal Message (Offline)

Ignore
1540114881
Reply with quote  #2

1540114881
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 1554
Merit: 1704


3F1Y9yquzvY6RWvKbw2n2zeo9V5mvBhADU


View Profile WWW
December 26, 2017, 01:41:18 AM
 #2

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.

myapple
Member
**
Offline Offline

Activity: 100
Merit: 10


View Profile
December 26, 2017, 08:11:14 AM
 #3

mining itself will also be counted?
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 1554
Merit: 1704


3F1Y9yquzvY6RWvKbw2n2zeo9V5mvBhADU


View Profile WWW
December 26, 2017, 07:06:32 PM
 #4

mining itself will also be counted?
What do you mean by "mining itself"? Mining is not involved in this.

myapple
Member
**
Offline Offline

Activity: 100
Merit: 10


View Profile
December 27, 2017, 02:41:27 AM
 #5

Ah
The number of transactions not includes mining
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!