{"id":4535,"date":"2020-09-29T22:03:51","date_gmt":"2020-09-29T22:03:51","guid":{"rendered":"https:\/\/stag.bitcoinsv.io\/?post_type=miner_document&p=4535"},"modified":"2020-10-02T15:11:29","modified_gmt":"2020-10-02T14:11:29","slug":"installation","status":"publish","type":"miner_document","link":"https:\/\/bitcoinsv.io\/zh\/documentation\/miners\/installation\/","title":{"rendered":"\u5b89\u88c5"},"content":{"rendered":"\n
Bitcoind\u7684\u90e8\u7f72\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u5b8c\u6210\uff0c\u8fd9\u53d6\u51b3\u4e8e\u4f60\u7684\u90e8\u7f72\u9700\u6c42\uff0c\u65e2\u53ef\u4ee5\u662f\u6781\u7b80\u7684\uff0c\u4e5f\u53ef\u4ee5\u662f\u975e\u5e38\u590d\u6742\u7684\u3002<\/p>\n\n\n\n
\u5728\u8fdb\u884c\u90e8\u7f72\u4e4b\u524d\uff0c\u5f88\u91cd\u8981\u7684\u4e00\u70b9\u662f\u4f60\u9700\u8981\u8003\u8651\u81ea\u5df1\u662f\u5426\u771f\u7684\u9700\u8981\u4e00\u4e2a\u6bd4\u7279\u5e01\u8282\u70b9\u3002\u50cfmAPI\u8fd9\u6837\u7684\u670d\u52a1\u53ef\u4ee5\u4e3a\u5546\u6237\u3001\u4ea4\u6613\u6240\u4ee5\u53ca\u5176\u5b83\u4efb\u4f55\u9700\u8981\u4e0e\u533a\u5757\u94fe\u8fdb\u884c\u4ea4\u4e92\u7684\u4eba\u63d0\u4f9b\u4ea4\u6613\u5904\u7406\u548c\u4fe1\u606f\u670d\u52a1\uff0c\u4f7f\u4ed6\u4eec\u65e0\u9700\u518d\u81ea\u5df1\u8fd0\u884c\u6bd4\u7279\u5e01\u8282\u70b9\u3002<\/p>\n\n\n\n
\u5982\u679c\u4f60\u662f\u4e00\u4e2a\u77ff\u5de5\uff0c\u4f60\u81f3\u5c11\u9700\u8981\u901a\u8fc7\u8fd0\u884cbitcoind\u6765\u8bbe\u7f6e\u4f60\u7684\u6bd4\u7279\u5e01\u8282\u70b9<\/a>\u3002<\/p>\n\n\n\n \u8bf7\u53c2\u9605Bitcoind<\/a>\u8bbe\u7f6e\u6307\u5357\u6765\u90e8\u7f72Bitcoind<\/p>\n\n\n\n \u6b64\u5916\uff0c\u4f60\u53ef\u80fd\u5e0c\u671b\u5728\u8fd0\u884c\u6bd4\u7279\u5e01\u8282\u70b9\u7684\u540c\u65f6\u8fd0\u884cMiner ID\uff08\u548c\/\u6216mAPI\uff09\u3002\u5b83\u4eec\u53ef\u4ee5\u5728\u540c\u4e00\u53f0\u673a\u5668\u4e0a\u8fd0\u884c\uff0c\u6216\u662f\u901a\u8fc7LAN\/WAN\u8fde\u63a5\u3002<\/p>\n\n\n\n Miner ID<\/strong><\/p>\n\n\n\n \u5728\u8fd0\u884cbitcoind\u65f6\uff0c\u8fd8\u53ef\u4ee5\u9009\u62e9\u540c\u65f6\u8fd0\u884cMiner ID<\/a>\uff0c\u8fd9\u9879\u529f\u80fd\u53ef\u4ee5\u8ba9\u4f60\u4f5c\u4e3a\u4e00\u540d\u77ff\u5de5\u5728Bitcoin SV\u751f\u6001\u7cfb\u7edf\u4e2d\u6811\u7acb\u58f0\u8a89\u3002<\/p>\n\n\n\n \u8fd9\u9879\u670d\u52a1\u8fd8\u80fd\u8ba9\u77ff\u5de5\u5c06\u4ed6\u4eec\u7684\u670d\u52a1\u9879\u76ee\u3001\u8054\u7cfb\u65b9\u5f0f\u548c\u5176\u5b83\u76f8\u5173\u4fe1\u606f\u5217\u793a\u7ed9\u4ed6\u4eec\u7684\u5ba2\u6237\uff0c\u4ee5\u4f9b\u9a8c\u8bc1\uff0c\u4ece\u800c\u675c\u7edd\u88ab\u5192\u5145\u7684\u98ce\u9669\u3002<\/p>\n\n\n\n \u8bf7\u53c2\u9605MinerID<\/a>\u8bbe\u7f6e\u6307\u5357\u6765\u90e8\u7f72Miner ID<\/p>\n\n\n\n mAPI<\/strong><\/p>\n\n\n\n \u4e0eMiner ID\u7c7b\u4f3c\uff0cmAPI\u662f\u77ff\u5de5\u5728Bitcoin SV\u4e0a\u53ef\u4ee5\u5411\u5408\u4f5c\u4f19\u4f34\u53ca\u516c\u4f17\u63d0\u4f9b\u7684\u63a5\u53e3\uff0c\u4ece\u800c\u5b9e\u73b0\u4e2a\u6027\u5316\u7684\u8d44\u8d39\u5b9a\u4ef7\u548c\u670d\u52a1\u4fdd\u8bc1\u3002\u6839\u636eSPV\u534f\u8bae\uff0c\u4e0emAPI\u8fdb\u884c\u4ea4\u4e92\u7684\u7528\u6237\u6216\u5546\u6237\u65e0\u9700\u5728\u672c\u5730\u7ef4\u62a4\u533a\u5757\u94fe\u7684\u5b8c\u6574\u526f\u672c\uff0c\u4fbf\u80fd\u4eab\u53d7\u5728BSV\u4e0a\u8fdb\u884c\u5b89\u5168\u4ea4\u6613\u6240\u9700\u7684\u5168\u90e8\u4fdd\u969c\u3002\u901a\u8fc7\u5728\u5546\u6237\u548c\u77ff\u5de5\u4e4b\u95f4\u5efa\u7acb\u6709\u6548\u7684\u6c9f\u901a\u6e20\u9053\uff0c\u53ef\u4ee5\u964d\u4f4e\u4f7f\u7528\u6bd4\u7279\u5e01\u65f6\u4eba\u4eec\u7ecf\u5e38\u63d0\u5230\u7684\u201c\u53cc\u82b1\u201d\u98ce\u9669\u53ca\u5176\u5b83\u98ce\u9669\u3002<\/p>\n\n\n\n \u77ff\u5de5\u901a\u8fc7mAPI\u505a\u51fa\u7684\u80af\u5b9a\u54cd\u5e94\u662f\u4e00\u79cd\u7531\u5176\u58f0\u8a89\u80cc\u4e66\u7684\u627f\u8bfa\uff0c\u627f\u8bfa\u4ed6\u5c06\u5c1d\u8bd5\u6253\u5305\u4f60\u7684\u4ea4\u6613\uff0c\u5e76\u4e14\u4e0d\u4f1a\u63a5\u53d7\u53e6\u4e00\u7b14\u201c\u53cc\u82b1\u201d\u4ea4\u6613\uff0c\u9664\u975e\u4ed6\u5728\u5176\u5b83\u533a\u5757\u4e2d\u770b\u5230\u4e86\u8fd9\u7b14\u4ea4\u6613\uff0c\u8fd9\u65f6\u5546\u6237\u4f1a\u5373\u523b\u6536\u5230\u901a\u77e5\u3002<\/p>\n\n\n\n \u8bf7\u53c2\u9605mAPI\u8bbe\u7f6e\u6307\u5357\u6765\u90e8\u7f72mAPI<\/p>\n\n\n\n GetMiningCandidate<\/strong><\/p>\n\n\n\n GMC\u662f\u4e00\u4e2a\u6539\u8fdb\u7248\u7684\u77ff\u5de5API\uff0c\u8be5API\u786e\u4fdd\u4e86\u77ff\u5de5\u53ef\u4ee5\u4e0e\u6bd4\u7279\u5e01\u7f51\u7edc\u540c\u6b65\u6269\u5bb9\uff0c\u5f53\u533a\u5757\u53d8\u5927\u65f6\u6d88\u9664RPC\u63a5\u53e3\u5e72\u6270\u7684\u9650\u5236\uff0c\u4ece\u800c\u77ff\u5de5\u53ef\u4ee5\u987a\u5229\u5730\u751f\u4ea7\u5927\u578b\u533a\u5757\u3002\u57fa\u4e8eAndrew Stone\u548cJohan van der Hoeven\u7684\u6770\u51fa\u5de5\u4f5c\uff08\u5bf9\u6b64\u6211\u4eec\u8868\u793a\u611f\u8c22\uff09\uff0cGMC\u7684\u5de5\u4f5c\u65b9\u5f0f\u662f\u4ece\u201cgetblocktemplate\u201d\u4e2d\u627e\u5230\u7684RPC\u8bf7\u6c42\u4e2d\u5220\u9664\u4ea4\u6613\u5217\u8868\uff0c\u53ea\u63d0\u4f9bmempool\/blockcandidate\u4e2d\u5f53\u524d\u6240\u6709\u4ea4\u6613\u7684Merkle\u8bc1\u660e\u3002<\/p>\n\n\n\n \u6211\u4eec\u5f3a\u70c8\u5efa\u8bae\u77ff\u5de5\u7acb\u523b\u91c7\u53d6\u5fc5\u8981\u7684\u63aa\u65bd\uff0c\u8c03\u6574\u81ea\u8eab\u7684\u77ff\u6c60\u8f6f\u4ef6\u8bbe\u7f6e\u5f00\u59cb\u4f7f\u7528<\/a>GMC\u3002\u968f\u7740\u533a\u5757\u53d8\u5927\uff0c\u4ecd\u5728\u4f7f\u7528GetBlockTemplate\u7684\u77ff\u5de5\u5728\u5c1d\u8bd5\u751f\u6210\u65b0\u533a\u5757\u65f6\u5c06\u4f1a\u9047\u5230\u95ee\u9898\u3002\u6700\u597d\u7684\u60c5\u51b5\u662f\uff0c\u4ed6\u4eec\u53ea\u662f\u628a\u624b\u7eed\u8d39\u62f1\u624b\u8ba9\u7ed9\u5176\u4ed6\u77ff\u5de5\u800c\u5df2\uff1b\u800c\u6700\u7cdf\u7cd5\u7684\u60c5\u51b5\u5219\u662f\uff0c\u7531\u4e8e\u8981\u4e00\u76f4\u7b49\u5f85\u533a\u5757\u6a21\u677f\u7684\u751f\u6210\uff0c\u77ff\u5de5\u7684\u6316\u77ff\u73af\u5883\u4f1a\u843d\u540e\u4e8e\u533a\u5757\u94fe\u7684\u6700\u65b0\u8fdb\u5ea6\uff0c\u6709\u65f6\u751a\u81f3\u4f1a\u5b8c\u5168\u505c\u6b62\u751f\u4ea7\u65b0\u533a\u5757\u3002<\/p>\n\n\n\n \u5bf9\u4e8e\u60f3\u8981\u6d4b\u8bd5\u81ea\u5df1\u77ff\u6c60\u8bbe\u7f6e\u4e0a\u9650\u7684\u77ff\u5de5\uff0c\u5728\u6b64\u5efa\u8bae\u4ed6\u4eec\u5728\u6269\u5bb9\u6d4b\u8bd5\u7f51<\/a>\u4e0a\u542f\u52a8\u6d4b\u8bd5\u90e8\u7f72\u3002<\/p>\n","protected":false},"parent":0,"menu_order":0,"template":"","meta":[],"tags":[],"minerdoc_category":[152],"lang":"zh","translations":{"zh":4535,"en":365},"yoast_head":"\n