{"id":5116,"date":"2021-05-14T02:54:38","date_gmt":"2021-05-14T02:54:38","guid":{"rendered":"http:\/\/blog.mathwallet.xyz\/?p=5116"},"modified":"2021-05-14T03:01:48","modified_gmt":"2021-05-14T03:01:48","slug":"binance-smart-chain-%e5%a6%82%e4%bd%95%e5%8a%a0%e9%80%9f%e4%ba%a4%e6%98%93","status":"publish","type":"post","link":"https:\/\/blog.mathwallet.xyz\/?p=5116","title":{"rendered":"Binance Smart Chain \u5982\u4f55\u52a0\u901f\u4ea4\u6613"},"content":{"rendered":"\n<p>\u5f53\u9047\u5230 GAS \u62e5\u5835\u7684\u60c5\u51b5\u65f6\uff0c\u4ea4\u6613\u53ef\u80fd\u4f1a\u9020\u6210\u201c\u5361\u4f4f\u201d\u7684\u72b6\u6001\uff0c\u4ece\u800c\u53d1\u9001\u65b9\u65e0\u6cd5\u8fdb\u884c\u4e0b\u4e00\u7b14\u4ea4\u6613\uff0c\u63a5\u6536\u65b9\u4e5f\u6536\u53d6\u4e0d\u5230\u8f6c\u8d26\uff0c\u6b64\u65f6\u9700\u8981\u4f7f\u7528&nbsp;<strong>\u52a0\u901f<\/strong>&nbsp;\u4ea4\u6613\u7684\u529f\u80fd<\/p>\n\n\n\n<h2>\u8f6c\u8d26\u539f\u7406<\/h2>\n\n\n\n<p>\u5728 BSC \u4e0a\u53d1\u751f\u7684\u6bcf\u7b14\u4ea4\u6613\u90fd\u6709\u4e00\u4e2a\u503c\u53eb nonce\uff0c\u8fd9\u4e2a\u503c\u7528\u4e8e\u8ba1\u7b97\u4e00\u4e2a\u5740\u4e2d\u53d1\u51fa\u7684\u4ea4\u6613\u6570\u91cf\u3002\u4e00\u4e2a\u5730\u5740\u91cc\u7684\u6240\u6709\u8f6c\u8d26\u4f1a\u6309\u7167\u4f60\u53d1\u8d77\u8f6c\u8d26\u7684\u65f6\u95f4\uff0c\u7ed9\u6bcf\u4e00\u7b14\u4ea4\u6613\u6392\u5e8f\uff0c\u4ece 0 \u5f00\u59cb\u8ba1\u6570\u3002\u5730\u5740\u6bcf\u53d1\u9001\u4e00\u7b14\u4ea4\u6613\uff0c\u4ea4\u6613\u7684\u968f\u673a\u6570 nonce \u5c31\u4f1a\u589e\u52a0 1\uff0c\u800c\u8f6c\u5165\u8fd9\u4e2a\u5730\u5740\u7684\u4ea4\u6613\u5219\u4e0d\u4f1a\u6539\u53d8 nonce \u503c\u3002\u5e76\u4e14\u4ee5\u592a\u574a\u8f6c\u8d26\u7684\u89c4\u5219\u6709\u4e0b\u5217\u51e0\u6761<\/p>\n\n\n\n<p>\u8282\u70b9\u9700\u8981\u6309\u7167 nonce \u503c\u4ece\u5c0f\u5230\u5927\u53bb\u6253\u5305\u8f6c\u8d26\uff0c\u6240\u4ee5\u5728 nonce \u4e3a 0 \u7684\u4ea4\u6613\u672a\u88ab\u8282\u70b9\u6253\u5305\u524d\uff0cnonce \u4e3a 1\uff0c2\uff0c3\u00b7\u00b7\u00b7\u7684\u4ea4\u6613\u65e0\u8bba\u77ff\u5de5\u8d39\u7ed9\u7684\u591a\u9ad8\uff0c\u90fd\u5fc5\u987b\u4e00\u76f4\u6392\u961f\u7b49\u7740\uff0c\u6240\u4ee5\u5f53\u6709\u4e00\u7b14\u4ea4\u6613\u672a\u5b8c\u6210\uff0c\u5c31\u65e0\u6cd5\u8fdb\u884c\u4e0b\u4e00\u7b14\uff0c\u65e0\u6cd5\u63d2\u961f<\/p>\n\n\n\n<p>nonce \u662f\u8fde\u7eed\u7684\uff0c\u4e0d\u80fd\u8df3\u8fc7\u3002\u5f53 nonce \u4e3a 1 \u7684\u4ea4\u6613\u6ca1\u6709\u53d1\u8d77\u65f6\uff0cnonce \u4e0d\u80fd\u4ece 0 \u76f4\u63a5\u8df3\u5230 2\uff0c\u5373 nonce \u4e3a 2 \u7684\u4ea4\u6613\u53ea\u80fd\u53d1\u751f\u5728 nonce \u4e3a 1 \u7684\u4ea4\u6613\u540e\u9762\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u6709\u4e24\u7b14\u4ea4\u6613 nonce \u76f8\u540c\uff0c\u5176\u4e2d\u4e00\u7b14\u4ea4\u6613\u6210\u529f\u540e\uff0c\u53e6\u5916\u4e00\u7b14\u4ea4\u6613\u5c31\u4f1a\u663e\u793a\u88ab\u66ff\u4ee3\uff0c\u8f6c\u8d26\u5931\u8d25\u3002<\/p>\n\n\n\n<h2>\u52a0\u901f\u4ea4\u6613<\/h2>\n\n\n\n<p>\u5f53\u4ea4\u6613\u53d1\u8d77\u540e\u5982\u679c\u5730\u5740\u5b58\u5728 Pending \u7684\u4ea4\u6613\uff0c\u53ef\u4ee5\u70b9\u51fb&nbsp;<strong>\u52a0\u901f\u4ea4\u6613<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" src=\"https:\/\/mathwallet.oss-cn-hangzhou.aliyuncs.com\/blog\/2021\/05\/%E5%8A%A0%E9%80%9F%E4%BA%A4%E6%98%93\/2.jpg\" alt=\"\" width=\"375\" height=\"667\"\/><\/figure>\n\n\n\n<p>\u70b9\u51fb\u52a0\u901f\u4ea4\u6613\uff0c\u5173\u95ed\u5f53\u4ea4\u6613\u5e76\u53d1\u8d77\u4e00\u7b14 nonce \u503c\u76f8\u540c\uff0c\u4f46\u77ff\u5de5\u8d39\u66f4\u9ad8\u7684\u8f6c\u8d26\uff0c\u6765\u8986\u76d6\u539f\u6765\u7684\u3002\u8fd9\u6837\u8fd9\u7b14\u4ea4\u6613\u5c31\u4f1a\u66f4\u5feb\u88ab\u6253\u5305\uff0c\u539f\u6765\u7684\u8f6c\u8d26\u5219\u88ab <strong>\u66ff\u4ee3 <\/strong>\u6389,\u539f\u4ea4\u6613\u4f1a\u5931\u8d25\u3002<\/p>\n\n\n\n<p>\u540c\u7406\u9002\u7528\u4e8e DAPP<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" src=\"https:\/\/mathwallet.oss-cn-hangzhou.aliyuncs.com\/blog\/2021\/05\/%E5%8A%A0%E9%80%9F%E4%BA%A4%E6%98%93\/1.jpg\" alt=\"\" width=\"375\" height=\"667\"\/><\/figure>\n\n\n\n<p><strong>\u5f53\u6709\u591a\u7b14\u6b63\u5728 pending \u7684\u4ea4\u6613\u65f6\uff0c\u53ef\u4ee5\u91cd\u65b0\u70b9\u51fb\u8f6c\u8d26\u8fdb\u884c\u65b0\u7684\u4e00\u7b14\u4ea4\u6613\uff0c\u8be5\u4ea4\u6613\u4f1a\u5df2\u94fe\u4e0a\u5df2\u786e\u8ba4 nonce+1 \u7684\u5e8f\u5217\u53d1\u9001\uff0c\u7c7b\u4f3c\u4e00\u4e2a\u63d2\u961f\u7684\u884c\u4e3a\uff0c\u82e5\u8be5\u7b14\u4ea4\u6613\u6210\u529f\uff0c\u5219\u6240\u8986\u76d6\u7684nonce \u4ea4\u6613\u4f1a\u88ab\u5931\u8d25\uff08Dropped &amp; Replaced\uff09<\/strong><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f53\u9047\u5230 GAS \u62e5\u5835\u7684\u60c5\u51b5\u65f6\uff0c\u4ea4\u6613\u53ef\u80fd\u4f1a\u9020\u6210\u201c\u5361\u4f4f\u201d\u7684\u72b6\u6001\uff0c\u4ece\u800c\u53d1\u9001\u65b9\u65e0\u6cd5\u8fdb\u884c\u4e0b\u4e00\u7b14\u4ea4\u6613\uff0c\u63a5\u6536\u65b9\u4e5f\u6536\u53d6\u4e0d\u5230\u8f6c\u8d26\uff0c\u6b64\u65f6\u9700\u8981\u4f7f\u7528&nbsp;\u52a0\u901f&nbsp;\u4ea4\u6613\u7684\u529f\u80fd \u8f6c\u8d26\u539f\u7406 \u5728 BSC \u4e0a\u53d1\u751f\u7684\u6bcf\u7b14\u4ea4\u6613\u90fd\u6709\u4e00\u4e2a\u503c\u53eb nonce\uff0c\u8fd9\u4e2a\u503c\u7528\u4e8e\u8ba1\u7b97\u4e00\u4e2a\u5740\u4e2d\u53d1\u51fa\u7684\u4ea4\u6613\u6570\u91cf\u3002\u4e00\u4e2a\u5730\u5740\u91cc\u7684\u6240\u6709\u8f6c\u8d26\u4f1a\u6309\u7167\u4f60\u53d1\u8d77\u8f6c\u8d26\u7684\u65f6\u95f4\uff0c\u7ed9\u6bcf\u4e00\u7b14\u4ea4\u6613\u6392\u5e8f\uff0c\u4ece 0 \u5f00\u59cb\u8ba1\u6570\u3002\u5730\u5740\u6bcf\u53d1\u9001\u4e00\u7b14\u4ea4\u6613\uff0c\u4ea4\u6613\u7684\u968f\u673a\u6570 nonce \u5c31\u4f1a\u589e\u52a0 1\uff0c\u800c\u8f6c\u5165\u8fd9\u4e2a\u5730\u5740\u7684\u4ea4\u6613\u5219\u4e0d\u4f1a\u6539\u53d8 nonce \u503c\u3002\u5e76\u4e14\u4ee5\u592a\u574a\u8f6c\u8d26\u7684\u89c4\u5219\u6709\u4e0b\u5217\u51e0\u6761 \u8282\u70b9\u9700\u8981\u6309\u7167 nonce \u503c\u4ece\u5c0f\u5230\u5927\u53bb\u6253\u5305\u8f6c\u8d26\uff0c\u6240\u4ee5\u5728 nonce \u4e3a 0 \u7684\u4ea4\u6613\u672a\u88ab\u8282\u70b9\u6253\u5305\u524d\uff0cnonce \u4e3a 1\uff0c2\uff0c3\u00b7\u00b7\u00b7\u7684\u4ea4\u6613\u65e0\u8bba\u77ff\u5de5\u8d39\u7ed9\u7684\u591a\u9ad8\uff0c\u90fd\u5fc5\u987b\u4e00\u76f4\u6392\u961f\u7b49\u7740\uff0c\u6240\u4ee5\u5f53\u6709\u4e00\u7b14\u4ea4\u6613\u672a\u5b8c\u6210\uff0c\u5c31\u65e0\u6cd5\u8fdb\u884c\u4e0b\u4e00\u7b14\uff0c\u65e0\u6cd5\u63d2\u961f nonce \u662f\u8fde\u7eed\u7684\uff0c\u4e0d\u80fd\u8df3\u8fc7\u3002\u5f53 nonce \u4e3a 1 \u7684\u4ea4\u6613\u6ca1\u6709\u53d1\u8d77\u65f6\uff0cnonce \u4e0d\u80fd\u4ece 0 \u76f4\u63a5\u8df3\u5230 2\uff0c\u5373 nonce \u4e3a 2 \u7684\u4ea4\u6613\u53ea\u80fd\u53d1\u751f\u5728 nonce \u4e3a 1 \u7684\u4ea4\u6613\u540e\u9762\u3002 \u5982\u679c\u6709\u4e24\u7b14\u4ea4\u6613 nonce \u76f8\u540c\uff0c\u5176\u4e2d\u4e00\u7b14\u4ea4\u6613\u6210\u529f\u540e\uff0c\u53e6\u5916\u4e00\u7b14\u4ea4\u6613\u5c31\u4f1a\u663e\u793a\u88ab\u66ff\u4ee3\uff0c\u8f6c\u8d26\u5931\u8d25\u3002 \u52a0\u901f\u4ea4\u6613 \u5f53\u4ea4\u6613\u53d1\u8d77\u540e\u5982\u679c\u5730\u5740\u5b58\u5728 Pending \u7684\u4ea4\u6613\uff0c\u53ef\u4ee5\u70b9\u51fb&nbsp;\u52a0\u901f\u4ea4\u6613 \u70b9\u51fb\u52a0\u901f\u4ea4\u6613\uff0c\u5173\u95ed\u5f53\u4ea4\u6613\u5e76\u53d1\u8d77\u4e00\u7b14 nonce \u503c\u76f8\u540c\uff0c\u4f46\u77ff\u5de5\u8d39\u66f4\u9ad8\u7684\u8f6c\u8d26\uff0c\u6765\u8986\u76d6\u539f\u6765\u7684\u3002\u8fd9\u6837\u8fd9\u7b14\u4ea4\u6613\u5c31\u4f1a\u66f4\u5feb\u88ab\u6253\u5305\uff0c\u539f\u6765\u7684\u8f6c\u8d26\u5219\u88ab \u66ff\u4ee3 \u6389,\u539f\u4ea4\u6613\u4f1a\u5931\u8d25\u3002 \u540c\u7406\u9002\u7528\u4e8e [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[117,14],"_links":{"self":[{"href":"https:\/\/blog.mathwallet.xyz\/index.php?rest_route=\/wp\/v2\/posts\/5116"}],"collection":[{"href":"https:\/\/blog.mathwallet.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mathwallet.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mathwallet.xyz\/index.php?rest_route=\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mathwallet.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5116"}],"version-history":[{"count":7,"href":"https:\/\/blog.mathwallet.xyz\/index.php?rest_route=\/wp\/v2\/posts\/5116\/revisions"}],"predecessor-version":[{"id":5123,"href":"https:\/\/blog.mathwallet.xyz\/index.php?rest_route=\/wp\/v2\/posts\/5116\/revisions\/5123"}],"wp:attachment":[{"href":"https:\/\/blog.mathwallet.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mathwallet.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mathwallet.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}