cn.sparkpool.com:3333
telnet cn.sparkpool.com 3333
--> send
{ "id":1, "jsonrpc":"2.0", "method":"eth_submitLogin", "params":["0xb85150eb365e7df0941f0cf08235f987ba91506a"]}
--> receive
{
"jsonrpc":"2.0",
"result":true,
"id":1
}
{
"id":0,
"jsonrpc":"2.0",
"result":[
"0x445e67da047c66bde7efe77ba5f55854fd85216863063823402d31fb86b2be30",
"0x0152752eb3e3d61ea36cc4d0cf6f8f0f656ae844c0bdedf974a6cd659666633d",
"0x0000000112e0be826d694b2e62d01511f12a6061fbaec8bc02357593e70e52ba"
]
}
- DATA, 32 Bytes - current block header pow-hash
- DATA, 32 Bytes - the seed hash used for the DAG.
- DATA, 32 Bytes - the boundary condition ("target"), 2^256 / difficulty.
参考:
https://www.sparkpool.com/miner/0xd237ec62accd0cc50ca00b087eb0b22cdceb55a0/data?currency=ETH
https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_getwork
https://github.com/sammy007/open-ethereum-pool/blob/master/docs/STRATUM.md
网友评论