Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: CorneliusDeLaPampa on April 22, 2014, 02:36:05 PM



Title: Creating a Checkpoint
Post by: CorneliusDeLaPampa on April 22, 2014, 02:36:05 PM
Hi,

I understand the principles and the parameters needed to create a checkpoint, However I have a hard time getting the value of one param:

total number of transactions between genesis and last checkpoint

You can get all the other value easily using a block explorer, but what is the best way to calculate this one?

Thx


Title: Re: Creating a Checkpoint
Post by: elbandi on April 22, 2014, 03:22:48 PM
run wallet with -rescan (or -reindex or -checkblocks=0, sorry dont remember  :-[) and look into the debug log.

Quote
total number of transactions between genesis and last checkpoint
//   (the tx=... number in the SetBestChain debug.log lines)


Title: Re: Creating a Checkpoint
Post by: CorneliusDeLaPampa on April 24, 2014, 02:53:47 PM
-rescan is a good option

Thanks a lot :)