Bitcoin: stratum protocol
2017-10-28 本文已影响86人
已不再更新_转移到qiita
telnet cn1-zcash.flypool.org 3333
---> send
{"id": 0, "method": "mining.subscribe", "params": ["zec.f2pool.com", 3357, "zcash/1.0", "1"]}
{"id": 0, "method": "mining.subscribe", "params": ["cn1-zcash.flypool.org", 3333, "zcash/1.0", "1"]}
---> result
{"id":0,"result":["3476b2b74c", "3476b2b74c"], "error": null}
---> send
{"id": 1, "method": "mining.authorize", "params": ["t1WSHqAC7Zi5XmCeS4RJozUSVxvzFZ3Gruc", "shooter01"]}
---> result
{"id":null,"method":"mining.notify","params":["65ce77a81d2156427a61","04000000","0adb71f7df928dda4a0c3cf433cf4e237f504204a8effd60cbec755900000000","59be4ec49e49cd416bb0d0b980748847aa2f4aa8e41cc3b7384da8413b140118","0000000000000000000000000000000000000000000000000000000000000000","4a3f0c59","f24a6f1c",true]}
{"id": null, "method": "mining.notify","params": ["JOB_ID", "VERSION", "PREVHASH", "MERKLEROOT", "RESERVED", "TIME", "BITS", CLEAN_JOBS]}
参考: