mirror of
https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
synced 2025-06-07 16:06:26 +00:00
Update 4_3_Creating_a_Raw_Transaction_with_Named_Arguments.md
This commit is contained in:
parent
3f1bdb417c
commit
7ca0b98ec1
@ -89,3 +89,5 @@ Voila! You've sent out another raw transaction, but this time using named argume
|
||||
## Summary: Creating a Raw Transaction with Named Arguments
|
||||
|
||||
By running `bitcoin-cli` with the `-named` flag, you can use named arguments rather than depending on ordered arguments. `bitcoin-cli help` will always show you the right name for each argument. This can result in more robust, easier-to-read, less error-prone code.
|
||||
|
||||
_These docs will use named arguments for all future examples, for clarity and to establish best practices. However, it will also show all arguments in the correct order. So, if you prefer not to use named args, just strip out the '-named' flag and all of the "name="s and the examples should continue to work correctly._
|
||||
|
Loading…
x
Reference in New Issue
Block a user