diff options
| author | Sebastian Falbesoner <[email protected]> | 2020-02-11 23:03:19 +0100 |
|---|---|---|
| committer | Sebastian Falbesoner <[email protected]> | 2020-02-13 12:57:37 +0100 |
| commit | 7f1475c7119e8c72bce39a63386a6ca859066b80 (patch) | |
| tree | 0dfe1308be504d573733e6e185416150edcb44c0 /doc/developer-notes.md | |
| parent | Merge #18104: build: Skip i686 build by default in guix and gitian (diff) | |
| download | discoin-7f1475c7119e8c72bce39a63386a6ca859066b80.tar.xz discoin-7f1475c7119e8c72bce39a63386a6ca859066b80.zip | |
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)
Diffstat (limited to 'doc/developer-notes.md')
| -rw-r--r-- | doc/developer-notes.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/developer-notes.md b/doc/developer-notes.md index a82ecee7d..d106aab3e 100644 --- a/doc/developer-notes.md +++ b/doc/developer-notes.md @@ -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. |