rpc: update validateaddress RPCExamples to bech32
also contains the following changes: - rpc: factor out example bech32 address for RPCExamples - doc: update developer notes wrt RPCExamples addresses (mention the EXAMPLE_ADDRESS constant as an example for an invalid bech32 address suitable for RPCExamples help documentation)
This commit is contained in:
1 parent
98264e2ccb
commit
7f1475c711
5 files changed
+13
-7
No files matched your search
@@ -1089,7 +1089,8 @@ A few guidelines for introducing and reviewing new RPC interfaces:
|
||||
new RPC is replacing a deprecated RPC, to avoid both RPCs confusingly
|
||||
showing up in the command list.
|
||||
|
||||
- Use *invalid* bech32 addresses for `RPCExamples` help documentation.
|
||||
- Use *invalid* bech32 addresses (e.g. the constant `EXAMPLE_ADDRESS`) for
|
||||
`RPCExamples` help documentation.
|
||||
|
||||
- *Rationale*: Prevent accidental transactions by users and encourage the use
|
||||
of bech32 addresses by default.
|
||||
|
||||
Reference in new issue
Block a user