Hey guys,
I'm looking to implement ABE for gridcoin, and have run into issues regarding extra block fields that abe isn't configured for.
Specifically, when I run a 'getblock' command within the client, I get the following:
getblock 3b487dc22d48d25dcbdc8e83073ffa0d6d4e61a490313894678d8fe2e9dac5f6
{
"hash" : "3b487dc22d48d25dcbdc8e83073ffa0d6d4e61a490313894678d8fe2e9dac5f6",
"confirmations" : 516,
"size" : 408,
"height" : 137000,
"version" : 3,
"merkleroot" : "4b5625af40be0d3dd4858c6a570541c2d71ccec998d76a268026914bcef19c33",
"tx" : [
"4b5625af40be0d3dd4858c6a570541c2d71ccec998d76a268026914bcef19c33"
],
"time" : 1403904421,
"nonce" : 0,
"bits" : "1c1d5c45",
"difficulty" : 8.71908594,
"boinchash" : "0639771c67d7f228d327c2984b465560<|>milkyway@home<|>5b14fa5bb5464294b79d8a7ca6273722898104e4dbb8c866723baf0000169353<|>1693<|>1.22569<|>8<|>\u0007v\b$T\u0006d�!6�\u0002�f�\u009EN�u�D� !� �Ty\u008Ag�jfa\u0089��\u0014h6\u0011<�Q�\u000B\u0017Y��\u001C\u0004�O�#Z��$\\uh<|><|>13202",
"Block Type" : 3,
"CPID" : "0639771c67d7f228d327c2984b465560",
"Project Name" : "milkyway@home",
"Block Diff Bytes" : 8.00000000,
"Block RAC" : 1693.00000000,
"PoB Difficulty" : 1.22569000,
"AES512 Block Skein Hash" : "5b14fa5bb5464294b79d8a7ca6273722898104e4dbb8c866723baf0000169353",
"AES Calc Hash" : "dedc88f03145b80a4b97340fa55150ee58d32b4b28c9fa9736c824f3af329fc7",
"AES512 Valid" : 0,
"IsCPIDValid?" : true,
"BlockPoWHash " : "f4ab0453d77b50c2ac2d9dbaed1f05eafc5455ee350f41a8170d976a286fc818",
"previousblockhash" : "ce00c6a6a25622d098a459c087d5f90e7961bb92903e43a6f1468295544b6a03",
"nextblockhash" : "3c8624fbd5ab37abcf7c9611dba39123dfe415bf02ce088b9a2635912fae6774"
}
The field I'm interested in is:
"boinchash" : "0639771c67d7f228d327c2984b465560<|>milkyway@home<|>5b14fa5bb5464294b79d8a7ca6273722898104e4dbb8c866723baf0000169353<|>1693<|>1.22569<|>8<|>\u0007v\b$T\u0006d�!6�\u0002�f�\u009EN�u�D� !� �Ty\u008Ag�jfa\u0089��\u0014h6\u0011<�Q�\u000B\u0017Y��\u001C\u0004�O�#Z��$\\uh<|><|>13202"
How on earth do I go about grabbing this from the blockchain.dat file? Does ABE perform a getblock command at any point, or is it only grabbing the .dat file and interpreting its' contents?
Regards,
CM.