mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
Add fundrawtransactions new reserveChangeKey option to the release notes
This commit is contained in:
parent
9eb325d079
commit
c9f3062d55
@ -128,6 +128,16 @@ Call "getmininginfo" loses the "testnet" field in favor of the more generic "cha
|
|||||||
|
|
||||||
### Wallet
|
### Wallet
|
||||||
|
|
||||||
|
0.14.0 Fundrawtransaction change address reuse
|
||||||
|
==============================================
|
||||||
|
|
||||||
|
Before 0.14, `fundrawtransaction` was by default wallet stateless. In almost all cases `fundrawtransaction` does add a change-output to the outputs of the funded transaction. Before 0.14, the used keypool key was never marked as change-address key and directly returned to the keypool (leading to address reuse).
|
||||||
|
Before 0.14, calling `getnewaddress` directly after `fundrawtransaction` did generate the same address as the change-output address.
|
||||||
|
|
||||||
|
Since 0.14, fundrawtransaction does reserve the change-output-key from the keypool by default (optional by setting `reserveChangeKey`, default = `true`)
|
||||||
|
|
||||||
|
Users should also consider using `getrawchangeaddress()` in conjunction with `fundrawtransaction`'s `changeAddress` option.
|
||||||
|
|
||||||
### GUI
|
### GUI
|
||||||
|
|
||||||
### Tests
|
### Tests
|
||||||
|
Loading…
Reference in New Issue
Block a user