What's Next?Ĭomplete your "Sending of Bitcoin Transactions" with §4.6: Creating a Segwit Transaction.BBEdit offers a 30-day evaluation period. You'd probably never want to use this method if you were writing a program where the whole goal is to know exactly what's going on. Though there are a few additional options for the fundrawtransaction command that weren't mentioned here, your control is still limited. This methodology should be used whenever possible if you're sending raw transactions by hand. If you're sending funds by hand and sendtoaddress doesn't offer enough control for whatever reason, you can get some of the advantages of raw transactions without the dangers. □ What is the power of sending coins with automated raw transactions? If you must send funds with raw transactions then fundrawtransaction gives you a nice alternative where fees, inputs, and outputs are calculated for you, so you don't accidentally lose a bunch of money. Summary: Sending Coins with Automated Raw Transactions However, you can verify it with the txfee-calc.sh JQ script created in the JQ Interlude: Though we saw the fee in the fundrawtransaction output, it's not visible here. That's why our change to SegWit addresses in §4.6 really isn't that big of a deal, but there are some gotchas for wider usage, which we'll talk about there. Note that it's a tb1 address, which means that it's Bech32 when we gave Bitcoin Core the total ability to manage our change, it did so using its default address type, Bech32, and it worked fine. One thing of interest here is the change address, which is the second vout. $ bitcoin-cli -named decoderawtransaction hexstring=$rawtxhex3
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |