|
July 02, 2011, 08:22:02 AM |
|
从矿池拿到一个任务如下:
{"id":0,"error":null,"result":{"midstate":"adaf1ff882043d7dd777665009afb0f9f2e2faabf9026ad43e9e1ae91f2d6bef","target":"ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000","data":"000000012c9c355ce91cc07063ad2fc47c2349c988f6528d8d893ca50000038f000000005822ea2 8f8ae545e273d32d0874408575916520a578d2c8edeb28e451ab8ce7b4e0de6be1a0c2a12000000 0000000080000000000000000000000000000000000000000000000000000000000000000000000 0000000000080020000","hash1":"0000000000000000000000000000000000000000000000000000000000000000000000800000000 0000000000000000000000000000000000000000000010000"}}
bitcoin-miner计算出了一个结果: {"params":["000000012C9C355CE91CC07063AD2FC47C2349C988F6528D8D893CA50000038F000000005822EA2 8F8AE545E273D32D0874408575916520A578D2C8EDEB28E451AB8CE7B4E0DE6BE1A0C2A12724427 FE00000080000000000000000000000000000000000000000000000000000000000000000000000 0000000000080020000"],"method":"getwork","id":"jsonrpc"}
请教这是怎么计算出来的, 用那些字段进行hash得出这种结果? 我翻了好久wiki也没找到, 就想知道详细的原理, 谢谢.
|