I'm trying to recreate the Raven Coin and Proton Coin genesis blocks which both use x16r however neither appear to work for slightly different reasons.
In Raven neither the Merkle Root nor the Genesis Hash match when using the inputs from chainparams.cpp. I noticed that RVN have changed their nVersion to 4 rather than the standard 1, I've amended it in the .js file (tx.writeIntLE(1, position, true);) however it doesn't seem to resolve the issue.
In Proton, the Merkle Root matches however the Genesis Hash does not.
RVN
Command:-a x16r -t 1514999494 -z "The Times 03/Jan/2018 Bitcoin is name of the game for new generation of firms" -n 25023712 -v 500000000000 -b 503382015 -p 04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5fOutput:
pzTimestamp: The Times 03/Jan/2018 Bitcoin is name of the game for new generation of firms
pubkey: 04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f
bits: 503382015
time: 1514999494
merkle root hash: fe91bee0581c7c4aa11c79545c253446054426c25f9298263180623aa187ddc5
Searching for genesis hash...
nonce: 25467455
genesis hash: 00000fd2d915ca2cd0d142784cf42d89a65b2b7e2eef60e83067b585e1bcac34
Hello,
I'm trying to recreate the Raven Coin and Proton Coin genesis blocks which both use x16r however neither appear to work for slightly different reasons.
RVN Command:
-a x16r -t 1514999494 -z "The Times 03/Jan/2018 Bitcoin is name of the game for new generation of firms" -n 25023712 -v 500000000000 -b 503382015 -p 04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f
Output:Expected Output hashMerkleRoot=28ff00a867739a352523808d301f504bc4547699398d70faf2266a8bae5f3516 hashGenesisBlock=0x0000006b444bc2f2ffe627be9d9e7e7a0730000870ef6eb6da46c8eae389df90
Proton Command
-t 1514160000 -z "Proton coin will start 25 Dec 2017" -n 1648566 -a x16r -v 5000000000 -b 504365040 -p 040a3ada5ba6280b99f49a92ba47221e6a72af844ec49d0c8bbdae1ec09a4c79b22e42eefe670ae04490556f91780eb57de76493d020c91d0c421c2fa052b28a2b
OutputExpected Output hashMerkleRoot=0x33a98e8f8089165dc24358b01d52dd740011bdbffad052d51d3ac3588af2f487 hashGenesisBlock=0x00000e1728b630fd83aecbc51546c7915fffb7d3c897b5fd8c4b14043070b7f0
Cheers, Ross.