网友发帖:
请教关于比特币的具体参数和运算。
发表于 2017-5-31 20:55:47|显示全部楼层
请教高手,这样理解接收到的任务参数对不对?这些参数具体是怎么运算的?谢谢!
{"params":[
"84ea5",
{job_id ,任务ID号}
"8698cc54a2b2ca67d6d11e637911d730eb4c1a6501543a350000000000000000",
{hashPrevBlock,由前一个区块决定}
"01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4d03742507fabe6d6d1c87da55d7d5dc0c2dc14a0cdff924ba27b4d2732b23d905d5b79e57f8eb2c5d0100000000000000",
{coinb1 - coinbase第一部分}
"a54e082f4542312f4144362f736c7573682f00000000018ea1f25d000000001976a9147c154ed1dc59609e3d26abb2df2ea3d587cd8c4188ac00000000",
{coinb2 - coinbase第二部分}
[
"8e19ec5c0c35880241d35219e677428fd2c77479b9d3a73168c75493e95711ed",
"20d2724a708517c4de70e2db484ea58fb2898e95af831c1a7c1fd41f7f75edbb",
"91d1835843fd6d7ebbda7389b0f61f71e86a6313a4d37a3eae6eece9e171370d",
"add162840876a76ba3fffdcff09a57a98ffb1897c7612cc336f137c5a6fd5dcc",
"ae8c4fb2bdde8fec881ae40c5710d0f4a055e977feb3750a52747dd037dbad18",
"82a5afd84e5d15caf19c5010be56c41e4f12f288a478897e8a7b524804d53728",
"3a21dbbc991a388d37f7e8e71409fb1944b6ddc08c78964a84c2c7ce95da4e4a",
"a630beffc575d7e640eaa693d5874bcde865be92ea0c502c6685b55a9f0c27b0",
"3d37a0ad4b979c58c3876610f1bfc6a20bdb3e17557464fd98b6b35cabc7ee2a",
"030df6ed372905230b3d43f1c55d969185ccf426b861f44773309169bf050493",
"1fbe265692d8a164a8d4d2b8551e8fd95440f2cdb847e4619ae2afd07c6b6d37",
"c8db9268b55cf637e4e65f4d7863b3f6d74caabd8bf74fa05a8ae0cf41cfda4b"],
{hashMerkleRoot,}
"20000000",{nVersion,区块版本号,只有在升级时候才会改变}version - Bitcoin block version.
"1801d854", {难度}nbits - Encoded current network difficulty
"5929304b",{时间戳}ntime - Current ntime
false],"id":null,"method":"mining.notify"}