mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-05 18:52:29 +02:00
Merge #14410: rpcwallet: 'ischange' field for 'getaddressinfo' RPC
14a06525b2tests: add test for 'getaddressinfo' RPC result 'ischange' field (whythat)93d1aa9abcrpcwallet: 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
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user