diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-11-04 17:22:35 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-11-04 17:23:11 -0500 |
commit | b74078868b5e7a594aaf2cec08772e0b6324bc38 (patch) | |
tree | 648be634a48310a6d6795c5b98f0c4d4e3a0efe2 /doc | |
parent | 742ee213499194f97e59dae4971f1474ae7d57ad (diff) | |
parent | 14a06525b2ed41d9a549e744019c06afeef9b0c5 (diff) |
Merge #14410: rpcwallet: 'ischange' field for 'getaddressinfo' RPC
14a06525b2 tests: add test for 'getaddressinfo' RPC result 'ischange' field (whythat)
93d1aa9abc rpcwallet: add 'ischange' field to 'getaddressinfo' response (whythat)
Pull request description:
Implementation of proposal in #14396.
This introduces `CWallet::IsChange(CScript&)` method and replaces original `CWallet::IsChange(CTxOut&)` method with overloaded version that delegates to the new method with *txout*'s `scriptPubKey`. In this way `TODO` note from the original method can still be addressed in a single place.
Tree-SHA512: ef5dbc82d76b4b9b2fa6a70abc3385a677c55021f79e187ee2f392ee32bc6b406191f4129acae5c17b0206e72b6712e7e0cad574a4bbd966871c2e656c45e041
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release-notes-14282.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/release-notes-14282.md b/doc/release-notes-14282.md index e6d8e0b70c..900ca04324 100644 --- a/doc/release-notes-14282.md +++ b/doc/release-notes-14282.md @@ -4,3 +4,6 @@ Low-level RPC changes `-usehd` was removed in version 0.16. From that version onwards, all new wallets created are hierarchical deterministic wallets. Version 0.18 makes specifying `-usehd` invalid config. + +`ischange` field of boolean type that shows if an address was used for change +output was added to `getaddressinfo` method response. |