{"id":3083,"date":"2022-08-13T08:47:14","date_gmt":"2022-08-12T23:47:14","guid":{"rendered":"https:\/\/blog.wsd.sh\/?p=3083"},"modified":"2022-08-14T18:30:42","modified_gmt":"2022-08-14T09:30:42","slug":"3083","status":"publish","type":"post","link":"https:\/\/blog.wsd.sh\/?p=3083","title":{"rendered":"<small> bitcoin-core\/src\/index.js \u4fee\u6b63<\/small>"},"content":{"rendered":"<p>src\/index.js<br \/>\n&#8211; original<\/p>\n<pre>\r\nmodule.exports = {\r\n  bitcoin: {\r\n    host: 'localhost',\r\n    password: 'bar',\r\n    port: 18443,\r\n    username: 'foo'\r\n  },\r\n  bitcoinMultiWallet: {\r\n    host: 'localhost',\r\n    password: 'bar',\r\n    port: 18453,\r\n    username: 'foo'\r\n  },\r\n  bitcoinSsl: {\r\n    host: 'localhost',\r\n    password: 'bar',\r\n    port: 18463,\r\n    username: 'foo'\r\n  },\r\n  bitcoinUsernameOnly: {\r\n    host: 'localhost',\r\n    port: 18473,\r\n    username: 'foo'\r\n  }\r\n};\r\n<\/pre>\n<p>&#8211; After editing<\/p>\n<pre>\r\nmodule.exports = {\r\n  AliceWallet: {\r\n    host: 'localhost',\r\n    password: '20924f2c9ed09e58d256b510ab2931ac$75e83a1b75057367117ffdbb5a696892dead2024e3ecbcb28234ac1ac6f62401',\r\n    port: 10001,\r\n    username: 'alice'\r\n  },\r\n  BobWallet: {\r\n    host: 'localhost',\r\n    password: '87fb0fbdd610473af0f18666f60c0311$7aac966ea1ef5a0f6b547dc7af4408ad8d262fc0a1c8c34924f653e19a64e789',\r\n    port: 10002,\r\n    username: 'bob'\r\n  },\r\n  CarolWallet: {                                                                    \r\n    host: 'localhost',\r\n    password: '05da7288e1456377b6e1674487dff985$f19342c7b610c2c3eebe69187de4ee8031e6f0b5537e987b440fac04d173d917',\r\n    port: 10003,                                                                    \r\n    username: 'carol'\r\n  },\r\n  DaveWallet: {\r\n    host: 'localhost',\r\n    password: '81fdbf5e63b36907685b5a8d62491df4$6b96001319c8e86616a0bec1ea6c8d1dcd3c5a621733b2d0f509dd56bfbad64d',\r\n    port: 10004,\r\n    username: 'dave'\r\n  },\r\n  EveWallet: {\r\n    host: 'localhost',                                                              \r\n    password: '066cd0b2d3e0b355b1cad790be2b9b0c$f87e338d94e838afcdfbf8e09a0db34c9f12e11bea055b7d616ae14b70f5aee9',\r\n    port: 10008,\r\n    username: 'eve'\r\n  },\r\n  AkiraWallet: {\r\n    host: 'localhost',\r\n    password: '7684fe25483abc2e2b3cbc2b44bce179$5bb0e9047ded0d92c6418a518cea122f6e5e09fd908ca46880d008ec0f325df2',\r\n    port: 10007,\r\n    username: 'akira'\r\n  }\r\n};\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>src\/index.js &#8211; original module.exports = { bitcoin: { host: &#8216;localhost&#8217;, password: &#8216;bar&#8217;, port: 18443, u&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/3083"}],"collection":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3083"}],"version-history":[{"count":14,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/3083\/revisions"}],"predecessor-version":[{"id":3085,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/3083\/revisions\/3085"}],"wp:attachment":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}