Skip to content

Commit c9f3062

Browse files
committed
Add fundrawtransactions new reserveChangeKey option to the release notes
1 parent 9eb325d commit c9f3062

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/release-notes.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,16 @@ Call "getmininginfo" loses the "testnet" field in favor of the more generic "cha
128128

129129
### Wallet
130130

131+
0.14.0 Fundrawtransaction change address reuse
132+
==============================================
133+
134+
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).
135+
Before 0.14, calling `getnewaddress` directly after `fundrawtransaction` did generate the same address as the change-output address.
136+
137+
Since 0.14, fundrawtransaction does reserve the change-output-key from the keypool by default (optional by setting `reserveChangeKey`, default = `true`)
138+
139+
Users should also consider using `getrawchangeaddress()` in conjunction with `fundrawtransaction`'s `changeAddress` option.
140+
131141
### GUI
132142

133143
### Tests

0 commit comments

Comments
 (0)