Author

Topic: hashGenesisBlock and block.nNonce for TESTNET? How can I find it? (Read 183 times)

member
Activity: 294
Merit: 11
Lord Shiva
If you want to connect to the Bitcoin Testnet (version 3) then it needs to be the same. If you want to create your own genesis block (and create your very own blockchain) you can change it then re-generate the other hashs manually. There are a few youtube videos which show you how to do it.

Hmmm... I do not searche it on YouTube yet Smiley

Thank you!
jr. member
Activity: 40
Merit: 7
If you want to connect to the Bitcoin Testnet (version 3) then it needs to be the same. If you want to create your own genesis block (and create your very own blockchain) you can change it then re-generate the other hashs manually. There are a few youtube videos which show you how to do it.
member
Activity: 294
Merit: 11
Lord Shiva
You can find the information in src/chainparams.cpp. The genesis block is made up of a number of variables, here's the key ones:

Main:
pszTimestamp = "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks";
nTime = 1231006505
nNonce = 2083236893

pszTimestamp = "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks";
nTime = 1296688602
nNonce = 414098458


Ok! And pszTimestamp must be exactly the same for both?



jr. member
Activity: 40
Merit: 7
From what parameters is the genesisHash calculated for TESTNET?

For MAINNET it is a verbalized Timestamp.

But where is a verbalized Timestamp for TESTNET?

Thank you.

You can find the information in src/chainparams.cpp. The genesis block is made up of a number of variables, here's the key ones:

Main:
pszTimestamp = "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks";
nTime = 1231006505
nNonce = 2083236893

pszTimestamp = "The Times 03/Jan/2009 Chancellor on brink of second bailout for banks";
nTime = 1296688602
nNonce = 414098458
member
Activity: 294
Merit: 11
Lord Shiva
From what parameters is the genesisHash calculated for TESTNET?

For MAINNET it is a verbalized Timestamp.

But where is a verbalized Timestamp for TESTNET?

Thank you.
Jump to: