-
Notifications
You must be signed in to change notification settings - Fork 38.7k
[wallet] Remove addwitnessaddress #14296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Concept ACK |
Fix all flake8 warnings in tests that are about to be updated to remove addwitnessaddress
addwitnessaddress is deprecated. Replace the call to addwitnessaddress with a call to getnewaddress(address_type='p2sh-segwit')
addwitnessaddress is deprecated. Remove the call to that RPC from wallet_dump.py and improve testing of all types of address (legacy, p2sh-segwit and bech32)
e70b870 to
850908a
Compare
|
Travis was failing because of new flake8 warnings. I've added a new commit removing all flake8 warnings from touched tests. |
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested ACK 850908a, some comments though.
nit, commit ebec90a prefix could be rpc — doesn't touch wallet code?
doc/release-notes-14296.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From doc/release-notes/release-notes-0.13.0.md
- New RPC commands:
generatetoaddress,importprunedfunds,removeprunedfunds,signmessagewithprivkey,
getmempoolancestors,getmempooldescendants,getmempoolentry,
createwitnessaddress,addwitnessaddress.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
doc/release-notes-14296.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From doc/release-notes/release-notes-0.16.0.md
- The wallet RPC
addwitnessaddresswas deprecated and will be removed in version 0.17,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
850908a to
2b91e42
Compare
|
Thanks for the corrections @promag . I've fixed them both. |
|
utACK 2b91e42 |
|
Tested ACK 2b91e42, only change was fixing release notes. |
2b91e42 [docs] Add release note for removing getwitnessaddress (John Newbery) ebec90a [wallet] Remove deprecated addwitnessaddress RPC method (John Newbery) 07e3f58 [test] Remove deprecated addwitnessaddress from feature_segwit.py (John Newbery) 82f2fa0 [test] Remove deprecated addwitnessaddress from wallet_bumpfee.py (John Newbery) 9d7ee18 [test] Remove deprecated addwitnessaddress from p2p_compactblocks.py (John Newbery) 3cf77f0 [tests] Remove deprecated addwitnessaddress call from wallet_dump.py (John Newbery) bdefc97 [tests] Remove deprecated addwitnessaddress call from feature_nulldummy (John Newbery) 67d7d67 [test] Fix flake8 warnings in tests (John Newbery) Pull request description: Fully removes the `addwitnessaddress` RPC method, which was deprecated in V0.17 Tree-SHA512: 8fa8a2a721a81262fbdedbe1cef031e6a07aa6abbc9760dbc62738fc4f688b44bd737d0f3cdb1aec046866a6395befbfecde0f34e76a99e11d3cf566cad1d0de
Fully removes the
addwitnessaddressRPC method, which was deprecated in V0.17