16. Aliceウォレット内のトランザクション一覧を取得
$ bitcoin-core.cli -regtest -datadir=. -rpcport=10001 listtransactions [ { "address": "bcrt1qht58vxn8avnek2ya3wfpyv65qml9q7l5a6lpek", "category": "immature", "amount": 0.01220703, "label": "", "vout": 0, "confirmations": 10, "generated": true, "blockhash": "774bc589fdcb0c43509e3bc3f6826362b9354ffbb849de5ade56b01ba6167932", "blockheight": 1910, "blockindex": 0, "blocktime": 1660103003, "txid": "7c41a437da6be49181e8572533cc7c00ed6dfad1898680cbaaafa73aae11c7f1", "walletconflicts": [ ], "time": 1660102988, "timereceived": 1660102988, "bip125-replaceable": "no" }, ]
17. ウォレットの特定のトランザクションの情報を取得する
$ bitcoin-core.cli -regtest -datadir=. -rpcport=10001 gettransaction 582fc2c1c18499864174170928118ce1d37b5de22e098221037b5f0ede91df87 { "amount": 0.00000000, "confirmations": 8, "generated": true, "blockhash": "3ab4a5282b351fe1ee784444f7dd7348154075b17acf174777f27e8ce4a00344", "blockheight": 1912, "blockindex": 0, "blocktime": 1660103003, "txid": "582fc2c1c18499864174170928118ce1d37b5de22e098221037b5f0ede91df87", "walletconflicts": [ ], "time": 1660102988, "timereceived": 1660102988, "bip125-replaceable": "no", "details": [ { "address": "bcrt1qht58vxn8avnek2ya3wfpyv65qml9q7l5a6lpek", "category": "immature", "amount": 0.01220703, "label": "", "vout": 0 } ], "hex": "020000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff050278070101ffffffff025fa0120000000000160014bae8761a67eb279b289d8b9212335406fe507bf40000000000000000266a24aa21a9ede2f61c3f71d1defd3fa999dfa36953755c690689799962b48bebd836974e8cf90120000000000000000000000000000000000000000000000000000000000000000000000000" }
18. Aliceからbobへ送金
– sendtoaddress実行
– alice側は送金手数料を含めて減額
– bob側は変化なし
– まだ、Bobに送金されていない
< Alice side >
$ pwd $ /home/user02/dev/alice $ bitcoin-core.cli -regtest -conf=/home/user02/dev/alice/bitcoin.conf -datadir=. -rpcport=10001 getbalance 14949.89998332 $ bitcoin-core.cli -regtest -datadir=. -rpcport=10001 sendtoaddress "bcrt1qjyzl9tp964jqakvrmgm7n25fmdw4j950mvxr9p" 0.2 "drinks-1" "room78" true true null unset" null 1.1 8d40de1e40f1a4b395560cdd8c672a96bb71d947f680d13faae62c3b9338ea5e $ bitcoin-core.cli -regtest -conf=/home/user02/dev/alice/bitcoin.conf -datadir=. -rpcport=10001 getbalance 14949.69998294
< Bob side >
$ pwd /home/user02/dev/bob $ bitcoin-core.cli -regtest -conf=/home/user02/dev/bob/bitcoin.conf -datadir=. -rpcport=10002 getbalance 0.00000000
19. transactionによる送金確認
2度送金
・勝手に想定した2回目の送金金額
- total : 0.20000038 - amount : 0.2 - fee : 0.00000038
・transaction が返す2回目の送金金額
- total : 0.20000038 - amount : 0.19998128 - fee : 0.00001910
– listtransactionsが示す最後のtransactionによる確認
$ bitcoin-core.cli -regtest -datadir=. -rpcport=10001 listtransactions [ { "address": "bcrt1qjyzl9tp964jqakvrmgm7n25fmdw4j950mvxr9p", "category": "send", "amount": -0.09998108, "vout": 0, "fee": -0.00001910, "confirmations": 0, "trusted": true, "txid": "50b56230864c09f5bb167a1885c8038393d2c4a04d4c50b5a1e98e1bef023ceb", "walletconflicts": [ ], "time": 1660106314, "timereceived": 1660106314, "bip125-replaceable": "yes", "comment": "drinks", "to": "room77", "abandoned": false }, { "address": "bcrt1qjyzl9tp964jqakvrmgm7n25fmdw4j950mvxr9p", "category": "send", "amount": -0.19998128, "vout": 0, "fee": -0.00001910, "confirmations": 0, "trusted": true, "txid": "8d40de1e40f1a4b395560cdd8c672a96bb71d947f680d13faae62c3b9338ea5e", "walletconflicts": [ ], "time": 1660106428, "timereceived": 1660106428, "bip125-replaceable": "yes", "comment": "drinks-1", "to": "room78", "abandoned": false } ]
– transaction hashによる確認
$ bitcoin-core.cli -regtest -datadir=. -rpcport=10001 gettransaction "50b56230864c09f5bb167a1885c8038393d2c4a04d4c50b5a1e98e1bef023ceb" { "amount": -0.09998108, "fee": -0.00001910, "confirmations": 101, "blockhash": "6c1587605e86e0f8b518d44ab0ad554b7aa6986ceeaad7459f087df6a45ea43b", "blockheight": 5354, "blockindex": 2, "blocktime": 1660109837, "txid": "50b56230864c09f5bb167a1885c8038393d2c4a04d4c50b5a1e98e1bef023ceb", "walletconflicts": [ ], "time": 1660106314, "timereceived": 1660106314, "bip125-replaceable": "no", "comment": "drinks", "to": "room77", "details": [ { "address": "bcrt1qjyzl9tp964jqakvrmgm7n25fmdw4j950mvxr9p", "category": "send", "amount": -0.09998108, "vout": 0, "fee": -0.00001910, "abandoned": false } ], "hex": "02000000000119fdb602b0c71426ee8c6ce15afdfef3f092856ae647c8652929a89edb9cad4e0a0000000000fdffffff85618005a46c0e39cb66fa5c24f7db0941d4208165262e7e0e5230737c1e915a0000000000fdffffff00e235379cd0c68bac2bd958de843feb237f7c9bbdfbb3dd87542f3ba8919b830000000000fdffffffaf972f6e9f8c9cb32a78912265678f02fca1f28d80556612aee3eacfda95836e0000000000fdfffffff8b9842b1da351d81c73a755020d43209521467f81c3638f17d02799608d14780000000000fdffffff0506b9a4c92d56385a3e9b14c160e2ff00aebddaabb3488a1b5b2b9532ae39660000000000fdffffff0b121fd8c0f137d76cedeeddbed9e2bba74b35fcc4c25b6188db12789aae54c50000000000fdfffffffcb7eae3f0fbad72113c6fc8b6d8df822694388a7c251d1e59a375bdaa4f9f3d0000000000fdffffffffa5bc82c64e784cc8ffead84dae03959b2724e6ca3675d243136ad1b1242dad0000000000fdffffffa84f3d37df519f687c4d8144a472b27e02ba23e16cce2dcf1831bb6abac875140000000000fdffffff111831183f6a518b1d0b08d4c61bb1df108c79a91ad29353b3ecd7a346c8428c0000000000fdffffffa726ebefc3f50690978ae2535e375f3f1d06b20846eb5a2964a5d4f761596e840000000000fdffffff0c1f461b630fa464addaab48770fd18c3d381fe72214b30f25561759eac93db50000000000fdffffff0bd2cb752347cd0a7ed99837dd8131ca891cb2cb98c8f4a8111e4260245df99c0000000000fdffffff25613aea5209f8413c06ca68a38015713422f6fac2dd581d2e7d4641782bc3400000000000fdffffffadbe29736ca402f182bf46f8c137bc3aad20b57cc0fa541311fbe0c5ac0f92d30000000000fdffffff02a57b778196544ffdc8170c50efc85ecbe2c4e4599ace656c1d6e3128373adb0000000000fdffffff092f5990df52b1979222b7e7e9a97f427c227ae7918473c0e428992bc4ec0b190000000000fdffffff0fbe3a49109041b81aeea310016448337168c0f21734564af9368bae198d95ca0000000000fdffffffe4c98fc56458d513ff0bdb71f74e2cb26fa4adb6352f5ee745d31fce109c97f90000000000fdfffffffebe496b0f5f9bcee35892fed73ef410c0816301bb69cea6164abe601c2268aa0000000000fdffffffa12fed82261612b92e4b026d4b3c4051d58148c51cf3d0fc896b4207510487830000000000fdffffffacd930f56544c0667c1c6ac883f619133d569feb96bfd579e477e5d5dfa7e7e20000000000fdffffff0bacdc9dfb1109750a1982712a266486483717496b2d3d6fc117231b1a91d2590000000000fdffffffa8e86cae52cac00f4fcaa3c67c40bf7e55cddafd6156e62163c7e8f4cbb124690000000000fdffffff011c8f9800000000001600149105f2ac25d5640ed983da37e9aa89db5d59168f02473044022025f740b42148aad2b683d24138ef50f28bc2ea31dfb11beb78d7ce7a8cb3624002202e464afd422e457ed8fc60177d062fd8ad6a141b14ae25664c745c16b3a8609d012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402201fb37bf04a0f9b1ee1cd38d32bd81faf2aec6b344ba6beddbac9d3848644784002203a9fef0997fee494db5fee002f30d62f24c50cb1ea88ca89638dfbe255f5eef8012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402207a17e45f439875c954de270e9b093cb96c00841210ee0654c9ea8f41c4d40ff5022063f8d31946a360f06b34a53443997ef8f4c80b9d605b0767c61416dffa63c277012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402200199b6d168997021653cb0257b2205798b4f8ac17f8559e01982246363d3418002202da823865a4368a45a75cc8e1cd866922df2cff03e65be56b06b5c0e6728252b012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d728902473044022001ca0752c9272748070a5bcb5c95b4551268ffdadca5ad8bb157119f5f8381ed022023171c9d82bbb29e88c9261fb8595ffe3c07ee3b095d6d5585fab9270833fa7f012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d7289024730440220657a93f50313580c49dab82e163248bdff439504923a7d7bbb1afb972bc9fde102200553fd0cc3cbfac2db3385a83862fe2f7ccc070b3aa3559ea03d73dcc2e20e3e012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d728902473044022003b786e55838603ee7322fb4626002c5b081d5c6aff2770cb7c70921ebaf48c702207e5c7fe13c42887c3b7114f7aeff4304021b725cb48c0d21bf6ab064b21981e8012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d7289024730440220109b6f5a5aadad67e5c8fcee4ad15d7db9bf63017f29804101ae3193c820e69d02201b6f1ab7f63b381bfcfe667ee4445c264a17f4c3bdd03a8f0a1c454c6598eeda012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d7289024730440220437865fb4691b01f5252789b6eecaeaac60dcff4a2f31f2b30eb7074ca108b7102202734705264c2539280cf7f4841e6f8c350af7eb170f9c5a5aa7c50fdc9eadf49012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402200af7341192d6ad45253ea3ee1cc6ea8a9a3df5d28411b2774779a1725be8611d02203b8aaf4be337a6496ef80c18b14a4e0c3751192e17653dcf12bfac869fb31f2d012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d7289024730440220546d299f45e3556846a0d1234675315d65f1bbf56bef76b77c4f3be15c12067202202bf83f10973a65f10729a9d8c374371fe8ddb3754ae45bf286e0310212a944df012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d728902473044022021bd48d2f5ecf948f0ea090881c4bfaee50cf65195f3ae958911e5622bc9b0d102202e28f2be49b77d6c096b332b911c6b247da50fc42e0017e56c92926850e9ebff012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402201f74ceeb77a2838deabe59e68f20adb0a613b41801e23102e8682b73e9844504022046bd97f9ef0a723372ad92b00f938698870713db7f6ba31af4f83a2d12edb2f1012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d7289024730440220760d70d2f3950e7418618228b5b1aab4869018bddf5b56c5e70648f54b4908b7022011bacba750de5b6c26366181edb594e67f8b9d5b5600f4eca113f07b9d8721fa012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402206a92fd23713a608affc2b63a0fed7887f613ac695e792b916c82b07202b1e31202204eccd2961fc1b0702ceee4273771186589db7b4135a08b36d6ac0e037a20c7e7012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d728902473044022005efe5c5484e1240563eed4e1a4d6041978bb36efbf99a9ef3c8e7a9dc3118c202207e38c9420230f245a47bc1833ef3ce75472123d96eb3136a9fabf7d178d6c00e012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d728902473044022017cb046780315ec782959c9bad371110b442a75f16fb928359b93bf97a0febb602207f3a19787cd6d212c935bc21843143fe1cf755ad407f9ce20efa5e355bae5061012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d728902473044022037e8545037a6aa6ee82fcbd13c41cde2303a69fed081805e7d12bb72eab18c1602206af63fbe71c227a1bc0074870a7bf7ce73c6095f5899ef6153378f2e3481582c012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402204e14934705a8debaea12367647c7ba8d48725efe0f2f85e51651b37479bf8dd2022055cf21b54556a062f4ab89bd002560622562755370fb457bbf7bf89ce74ce12c012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d728902473044022038c327149dc8baff98ea2e111e83e275a120bfb165e074da4c039de329c83f46022055588ad0234e23e82c6f9f97f612139bedb8c206d57c9cba408ec74431babce6012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402204b73f527a951db33fddd748db31d119b26f7072544a429760c777ff2f1080b0c02201ac9efa4370674b8ca99a9a4d9668e6b7970d68423f219d70a6b7e1b0c609463012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d728902473044022009db36428e4fdcbf15e6c3590e9bba6559bc0495c18db9ad55050dc322023b3602205b19a18edd57bdda290f177559fce9a6b8a788b75f295b32a649e158d3dd7b2f012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d7289024730440220468a4cc373d1fb76a42ca188ff95210b0f83e4e8a775f12c7d218094ba35ac0902203712f8718fb3c106f854e16478c26a6d59aa12ce38a0fc9d9bb11f55bb8d3cc2012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d728902473044022043912e7afd0c85d24856149cc0abdb49b14e590e5b2e2ebcb3ea90ef93fafecb022003e0788592175a1bb2f90f71f4d7ac544137c7e174c9a08ea66a9d13fa329727012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d728902473044022056e2703208445c1b3030227fe7fc316fc6bc142d71d2fde111fb44560617216b02203104bc97b4b3259316c4476d60eb5da87ad5ecc65300f46346d33f0044881d3d012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d7289e9140000" } $ bitcoin-core.cli -regtest -datadir=. -rpcport=10001 gettransaction "8d40de1e40f1a4b395560cdd8c672a96bb71d947f680d13faae62c3b9338ea5e" { "amount": -0.19998128, "fee": -0.00001910, "confirmations": 0, "trusted": true, "txid": "8d40de1e40f1a4b395560cdd8c672a96bb71d947f680d13faae62c3b9338ea5e", "walletconflicts": [ ], "time": 1660106428, "timereceived": 1660106428, "bip125-replaceable": "yes", "comment": "drinks-1", "to": "room78", "details": [ { "address": "bcrt1qjyzl9tp964jqakvrmgm7n25fmdw4j950mvxr9p", "category": "send", "amount": -0.19998128, "vout": 0, "fee": -0.00001910, "abandoned": false } ], "hex": "020000000001195fdcd10ccba8b3af3ffbd183af117fa9abb8f1cbe23fb5cf61428e8b95689cda0000000000fdffffffef8cc559b53a9376f206207cc155dbb14d8724047f8cff2de6fd2138fe8229f50000000000fdffffff7ba77b5dbc5591faa18ccb36d5a59b426b63027da4631aa5de60330ba722aece0000000000fdffffff38a718be4fd8bf136f5e1abd95f4b389262a93584201a5300e97ff5707e985430000000000fdfffffffc05d205efdada3c2e7c0eec051554e5660a13c626df7a9876fd4b4c9442c3580000000000fdffffff9f7028bf9cbdf9f3f48382ae988b41e722287dd7189af3cf7af72a3de27717e50000000000fdffffffc054a86113c88e0a23c30eb8c409f9178363669a714793ce27280b420c5399940000000000fdffffff28664f5fa92cd464e239a7e82b95edeac2120019d6d02411888694963631e8d70000000000fdffffffcd6592c8c69b83939331996508f978412874ea4ef099f03140a9aa915b2eecbe0000000000fdffffff2b9d5d388c9bc17c0e1ca7b39dfef407eff8d5d2719f22667d1d5d8b053f02620000000000fdfffffff1392ca4de522b7a99936cddfc33c3202213037899f000ff34f5805b627cf6730000000000fdffffffba08e5b70faf08310a2f64712cdd619ca116cd24822bddec19891f2e46d7c99c0000000000fdffffff4a7280710cad26c74d15a0dbdaa80d6eedfe935d8fc754433ae5c4b4c5fb60b50000000000fdffffff3b18d14397b8f87a252c5d39e9b38d2057167be8b356403d7e768028365db57e0000000000fdffffffe63dc88fa285c384a18c875ae9f3e618d4c0564f79cd60fae100810a571b04c40000000000fdffffff275d87d5bf52e11cf03b1a661c54ccdf1d0a29959bd5e02db1d76d373da0f3000000000000fdffffff82f54799ab971ced5ef2e0c607399cf1ff5e1c0e867aa06f4cd446e5911178330000000000fdffffff0cec3c9f5afa128956d507766ce2448e953d96ac180c2bfdeb51f56f9e0f9b0e0000000000fdffffff213040295c6ac13ef1da4ac43612b4706b7c5a05ee53528ca20d2d0ac01497bd0000000000fdffffff279fde979c57cc85b40acc206ce51f79644929f0d73aa023b3e2425da8639cb60000000000fdfffffffc25514b70fd9df538b9d4de065585ef0dfa7b116885b52578982e4c25397de80000000000fdffffff388e446b1df30d51bc119d69a6ceebad732d35e0b2273b7bc1d1568279d4c3850000000000fdffffffef4a381e2a3a9d8db2e3e055e98c36e66bb632ab7f2e6c99d619e1025a407a600000000000fdffffffbc7905bdd04074494ebfea658140203ff9c0714fd0f5bd8676ed50e39628d0810000000000fdfffffff7b81ef85cc0e0664cd1d90420430229e00ef4472b9cec14ce097853d083034b0000000000fdffffff01b0253101000000001600149105f2ac25d5640ed983da37e9aa89db5d59168f0247304402203e83ee3cad5b2e8b9ccf519bee1f78daf06f99b90388788aa6fa22561e75c05402206235333e0176721f0d907c6b006217421528b1911bede6f0fb0deaea6356a540012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402201fb6afa3c2cf2276e9cf2136def82452f229f3702a47da7ee01f09e14e27dc280220070bab36dbfc58858f2db7f6227cb64e406f78a207aa81b3e3f0742aeeeaea70012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d728902473044022049babe404fced5a8b1f8a1a634c936fa0b2b55abe2ade216492f11cfab97235c02201311e3b565121f556256cc6bd7227047c73114afdb7888fe54f01f18cd22f6fc012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402204c7412603e476c9dc5ac1ec0da464a4f98d493f3b8c580645dfe93123312af35022009e43dfa3f914f6b1b791725da9fab46db46729830b521ba5f925235ab204527012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402202aef46665a944e961e22218f702a630f7d1f36f5e625d9704960390b5cf1c0d70220069287699b64b70da13f9104d01c69e824c229056cb2e5d0fb0082df341078ff012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402207ac4de13fda29d63d5af009180bf98b2de0fdba2d91318a63fb8267b37f1d2b20220727dedd4eecc35b74cc6788feef827d38a448d7e2ae9dcfaec924e67ff033739012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402200f93e24b59c572c08dbe39ac9e8889b4f3864a1873f05054ee28ffd3885d66cf022010162c2861b006b45267ff8fdf6bf22f2768162d76711ff425ba607a93709d23012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402202c66351509aa3c2a18db3e6a35ef0486e61f521847d2bbd1695409e51af1579b022039b0697f49ca67a240c9c758c540e40ce8227bd64ed865bd52eec11b81bcf50f012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402207e2eb710874420c02256e510f25d336e92eba7554e80bb8c7f0da6810db721c302204e14c775d699c0265e017ba0fc25f6b3a2c28c99e7cb0f413703291005190c41012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402206e80e7fd20b3d9b917a3f7e8f6e74e4894c25356459486de8d7822b633f1c0cb02205afb428166729eda3f189f2cf273b9dc8773ba664c2191cdf811e470f447dc6b012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402201bddb8defca0e196bd18f77cc91ca186569eee8122d019b4656ea64345e81a9a0220309f904084f2f17b859100a90a3a3795ae258c576f2970507c1783ab2c86103c012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d728902473044022040659da154b9d0bbcb598978a9fc70ec08b95ff81ebf4e18618a855c616c2d7302207d12aad36df21453b539a651266be5775eb0df48d4e8b6964d9bc90b518ab5e0012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402201050034062dcd8639785dcf68ef062865b77dde1e69481ff3dde15277b9b759f0220369adeb8da09b04bb5a0911ff4067c70ca55b68c74cb4dc120c73693af621568012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d7289024730440220322e1f79b8b0cde4163252f3f95cb5e152e7e79dc2e06473648fe4bd9c5a4166022005d1ee1d8a8824bc17150730559828b409e428d4167c22c040f2f8b8986b63a3012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d7289024730440220651a99a3137cb54ebae50c47b877fc6a414535d2f822ffe81dd1ba796cfc497f022041ea0b537b9189be9b1788efffee6dd96ab0bfa3459e3ff8b2c55768d339f33b012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d728902473044022037ce37261c8ee30cb9fed8d4490a5fffd586e61567f4ff6df292cfa9f827a521022063a9aba9e49f42d6ce76bc9770c4dc000034b7eb10d47c5796796dd08d2df2b0012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d728902473044022035bc9a24a2c2caf35c1eb52384a67776e602a4dc0561a6d8308a16b0320e62c1022070f5de32a21525e6184a975e2bedf15d2c7ad6736c7d38754263b7586b025123012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402205a4da191ef0cd8bae23e1498b5a591e66b1392fee0ef29c299388737c80be06f02203440051079ccc1415ae1ad7dadd6716504062a7278cb161c8c22b3430f36cbe5012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d728902473044022046b1dd76a3e27c347b962b84d72b19144964f12c61ed2aa8e90e4936621fb4e20220477cb80cd1f2db733cd2063218448a81c041c6485937cafeded42d10d70340ce012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d728902473044022047af4c234632f2b287974b9e776ee3801a0372c9844f02ea9b0ae588741916ed0220734b296d734f632a0042a464031c2f592dc03ea7c820b218a2df3acef32bfcbd012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402203b880674b82f0c36c75c5303d9e7d3aef3d075bad523d7e7a38ef0b9aba6af62022063499bb6d27ab72cfd5dedd3703add522066f86fe1ce02a7cc70f48b8046cbc8012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d7289024730440220063756fb4132c47bc594fc861b574cadd630c3f3b9153ec7b7761442c21716c00220225be27802696864ceaaf4148ecb4d2961a3185f10807bac318135fa127ff8d6012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402207d4af3954daedf9b093890473bd3876fb359e5f461b5d82d9d49112b3c122d49022022cf3eea82a29204a89553ffeb29dd08cd311e7b7159aa7830193e8917ad8259012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d72890247304402205cbdb99195def3694abfff0e000301292eb2bc9c622c9bae7d84bdaee4bd440f022013721527551373994a81676a4507c2026bd2904c9e260d25941e14541b871bc6012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d728902473044022009c48299129a7aff4081428e4cbb1eb813bafd8bfcbcfe87d401e545ff7485aa022005135a9a787f9bef7a3a9200225730778c120e8b07434ffd92f203608a84cbc1012102a36ec1e6e326f4040ad5e86a4ba114d7d59b369e9fae5925bfb55bd1f53d7289e9140000" }
19. 一度アリスのterminalでマイニングを行う
– マイニングを行うと送金される
$ bitcoin-core.cli -regtest -conf=/home/user02/dev/alice/bitcoin.conf -datadir=. -rpcport=10001 generatetoaddress 101 bcrt1qht58vxn8avnek2ya3wfpyv65qml9q7l5a6lpek
20. 2回の送金でBobのwalletの金額
$ bitcoin-core.cli -regtest -conf=/home/user02/dev/bob/bitcoin.conf -datadir=. -rpcport=10002 getbalance 0.29996236