{"id":8180,"date":"2021-07-03T07:55:42","date_gmt":"2021-07-03T07:55:42","guid":{"rendered":"http:\/\/43.153.210.228\/\/?p=8180"},"modified":"2021-07-03T07:55:42","modified_gmt":"2021-07-03T07:55:42","slug":"%e6%af%94%e7%89%b9%e5%b8%81%e6%a0%b8%e5%bf%83%e4%bb%a3%e7%a0%81%e5%ba%93%e4%b8%ad%e7%9a%84%e7%bd%91%e7%bb%9c%e5%a4%84%e7%90%86%e6%a6%82%e5%bf%b5%e4%b8%8a%e6%b6%b5%e7%9b%96%e4%ba%86%e4%bb%80%e4%b9%88","status":"publish","type":"post","link":"http:\/\/43.153.210.228\/?p=8180","title":{"rendered":"\u6bd4\u7279\u5e01\u6838\u5fc3\u4ee3\u7801\u5e93\u4e2d\u7684\u7f51\u7edc\u5904\u7406\u6982\u5ff5\u4e0a\u6db5\u76d6\u4e86\u4ec0\u4e48\uff1f"},"content":{"rendered":"<p>\u5728\u6bd4\u7279\u5e01\u6838\u5fc3\u4ee3\u7801\u5e93\u4e2d\uff0cnet\\u\u5904\u7406\uff08.h\u548c.cpp\uff09\u5728\u6982\u5ff5\u4e0a\u6db5\u76d6\u4e86\u4ec0\u4e48\uff1f<br \/>\u6bd4\u7279\u5e01\u6838\u5fc3\u5f00\u53d1<br \/>\u9a8c\u8bc1<br \/>C++<br \/>\u70b9\u5bf9\u70b9<br \/>\u5206\u4eab<br \/>\u6539\u8fdb\u8fd9\u4e2a\u95ee\u9898<br \/>\u8ddf\u968f<br \/>6\u67082\u65e515:27\u95ee<br \/>\u8fc8\u514b\u5c14\u00b7\u798f\u514b\u68ee<br \/>659988\u94f6\u724c2323\u94dc\u724c<br \/>\u6dfb\u52a0\u8bc4\u8bba<br \/>1\u4e2a\u7b54\u6848<br \/>0<br \/>James O&#8217;Beirne\u5728Bitcoin Edge Dev++\uff082018\uff09\u7684\u6bd4\u7279\u5e01\u6838\u5fc3\u67b6\u6784\u6f14\u8bb2\u4e2d\u56de\u7b54\u4e86\u8fd9\u4e00\u95ee\u9898\u3002<br \/>netu\u5904\u7406\u5c06P2P\u6d88\u606f\u8def\u7531\u4e3a\u9a8c\u8bc1\u8c03\u7528\u548c\u54cd\u5e94P2P\u6d88\u606f\u3002\u5b83\u5c06\u7f51\u7edc\u5c42\u8c03\u6574\u4e3a\u94fe\u72b6\u6001\u5c42\uff0c\u5e76\u5c06\u7f51\u7edc\u6d88\u606f\u8f6c\u6362\u4e3a\u672c\u5730\u72b6\u6001\u66f4\u6539\u7684\u8c03\u7528\u3002<br \/>netu\u5904\u7406\u7684\u5927\u90e8\u5206\u662fProcessMessage\uff08\uff09\uff0c\u8fd9\u662f\u4e00\u4e2a\u5de8\u5927\u7684\u6761\u4ef6\uff0c\u7528\u4e8e\u5c06\u7279\u5b9a\u7684\u7f51\u7edc\u6d88\u606f\u7c7b\u578b\u5448\u73b0\u7ed9\u6df1\u5165\u6bd4\u7279\u5e01\u7684\u8c03\u7528\u3002<br \/>\u5bf9\u7b49\u70b9\u4e5f\u4f1a\u56e0\u7f51\u7edc\u5904\u7406\u4e2d\u7684\u4e0d\u826f\u884c\u4e3a\uff08\u4f8b\u5982\u53d1\u9001\u8282\u70b9\u65e0\u6548\u5757\uff09\u800c\u53d7\u5230\u60e9\u7f5a(git grep\u884c\u4e3a\u4e0d\u7aef\uff08\u67e5\u770bCore\u8ddf\u8e2a\u4e0d\u826f\u884c\u4e3a\u7684\u5404\u79cd\u60c5\u51b5\uff09\u3002<br \/>net\u4f4d\u4e8e\u6bd4\u7279\u5e01\u6838\u5fc3\u6808\u7684\u5e95\u90e8\uff0c\u5904\u7406\u4e0eP2P\u7f51\u7edc\u7684\u7f51\u7edc\u901a\u4fe1\u3002net\u4e2d\u7684CConMan\u901a\u8fc7CConMan:\uff1aThreadMessageHandler\u5c06\u6d88\u606f\u8f6c\u53d1\u7ed9net\\u\u5904\u7406\u3002<br \/>Net\u5904\u7406\u4f7f\u7528\u8bf8\u5982ProcessNewBlock\uff08\uff09\u548cAcceptToMemoryPool\uff08\uff09\u4e4b\u7c7b\u7684\u51fd\u6570\u8c03\u7528\u6765\u8c03\u7528\u9a8c\u8bc1\uff0c\u5b83\u8d1f\u8d23\u67e5\u770b\u5757\u94fe\u548cUTXO\u96c6\u3002<br \/>\u5404\u79cd\u6bd4\u7279\u5e01\u6838\u5fc3\u516c\u5173\u5ba1\u67e5\u4ff1\u4e50\u90e8\uff08\u59822021\u5e742\u67083\u65e5\u768420721\u516c\u5173\u4ff1\u4e50\u90e8\uff09\u90fd\u6db5\u76d6\u4e86\u7f51\u7edc\u5904\u7406\u3002<br \/>\u5206\u4eab<br \/>\u6539\u8fdb\u8fd9\u4e2a\u7b54\u6848<br \/>\u8ddf\u968f<br \/>6\u67082\u65e515:36\u7f16\u8f91<br \/>6\u67082\u65e515:27\u56de\u7b54<br \/>\u8fc8\u514b\u5c14\u00b7\u798f\u514b\u68ee<br \/>659988\u94f6\u724c2323\u94dc\u724c<br \/>\u6dfb\u52a0\u8bc4\u8bba<\/p>\n<p><a href=\"http:\/\/43.153.210.228\/\/wp-content\/uploads\/2021\/07\/688blockchainBTCwww.qkl91.com_.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"\u65f6\u5149\u7d20\u6750-\u9999\u8f66\u7f8e\u5973  (688)blockchainBTC\u6bd4\u7279\u5e01\u533a\u5757\u94fewww.qkl91.com\" style=\"border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px; display: inline\" border=\"0\" alt=\"\u65f6\u5149\u7d20\u6750-\u9999\u8f66\u7f8e\u5973  (688)blockchainBTC\u6bd4\u7279\u5e01\u533a\u5757\u94fewww.qkl91.com\" src=\"http:\/\/43.153.210.228\/\/wp-content\/uploads\/2021\/07\/688blockchainBTCwww.qkl91.com_thumb.jpg\" width=\"475\" height=\"658\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u6bd4\u7279\u5e01\u6838\u5fc3\u4ee3\u7801\u5e93\u4e2d\uff0cnet\\u\u5904\u7406\uff08.h\u548c.cpp\uff09\u5728\u6982\u5ff5\u4e0a\u6db5\u76d6\u4e86\u4ec0\u4e48\uff1f\u6bd4\u7279\u5e01\u6838\u5fc3\u5f00\u53d1\u9a8c\u8bc1C++\u70b9\u5bf9\u70b9\u5206\u4eab\u6539 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8180","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/posts\/8180"}],"collection":[{"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/43.153.210.228\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8180"}],"version-history":[{"count":1,"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/posts\/8180\/revisions"}],"predecessor-version":[{"id":8181,"href":"http:\/\/43.153.210.228\/index.php?rest_route=\/wp\/v2\/posts\/8180\/revisions\/8181"}],"wp:attachment":[{"href":"http:\/\/43.153.210.228\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/43.153.210.228\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8180"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/43.153.210.228\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}