Hello,
Great work, but the example you have with the hash
00000000 adeac280 8160c906 96bb34f1 00ec1360 b679ec1e 9f453df4 44de3e15
is not a real block solve on the bitcoin network.
A real block solve example for test.h would be a huge help to understanding the endian'ness and swapping that is occurring. I've been trying to get this example to solve block 4, and I just can't figure it out.
A real world test.h would be a huge help.
Bitcoin: block 4.
{
"hash": "000000004ebadb55ee9096c9a2f8880e09da59c0d68b1c228da88e48844a1485",
"version": 1,
"versionHex": "00000001",
"previousblockhash": "0000000082b5015589a3fdf2d4baff403e6f0be035a5d9742c1cae6295464449",
"merkleroot": "df2b060fa2e5e9c8ed5eaf6a45c13753ec8c63282b2688322eba40cd98ea067a",
"time": 1231470988,
"nonce": 2850094635,
"bits": "1d00ffff",
}
Thank you!
Hello,
Great work, but the example you have with the hash
00000000 adeac280 8160c906 96bb34f1 00ec1360 b679ec1e 9f453df4 44de3e15
is not a real block solve on the bitcoin network.
A real block solve example for test.h would be a huge help to understanding the endian'ness and swapping that is occurring. I've been trying to get this example to solve block 4, and I just can't figure it out.
A real world test.h would be a huge help.
Bitcoin: block 4.
{
"hash": "000000004ebadb55ee9096c9a2f8880e09da59c0d68b1c228da88e48844a1485",
"version": 1,
"versionHex": "00000001",
"previousblockhash": "0000000082b5015589a3fdf2d4baff403e6f0be035a5d9742c1cae6295464449",
"merkleroot": "df2b060fa2e5e9c8ed5eaf6a45c13753ec8c63282b2688322eba40cd98ea067a",
"time": 1231470988,
"nonce": 2850094635,
"bits": "1d00ffff",
}
Thank you!