diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-12-19 09:12:28 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-01-19 20:45:34 +0100 |
commit | c9f3062d551823f006d400dddb54c12620cd29c4 (patch) | |
tree | 78235a4b0954aba96d65695398a903b9fee13604 /doc | |
parent | 9eb325d079c7bbce749abe79d0bbac34d8ef5806 (diff) |
Add fundrawtransactions new reserveChangeKey option to the release notes
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release-notes.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/release-notes.md b/doc/release-notes.md index bbda55854f..0ea9e1949e 100644 --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -128,6 +128,16 @@ Call "getmininginfo" loses the "testnet" field in favor of the more generic "cha ### 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 ### Tests |