-
Notifications
You must be signed in to change notification settings - Fork 35.6k
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
Remove -deprecatedrpc=addresses flag and corresponding code/logic #22650
Remove -deprecatedrpc=addresses flag and corresponding code/logic #22650
Conversation
b798f8b
to
28bd30a
Compare
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, 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. |
Concept ACK |
Concept ACK |
review ACK 28bd30a 📰 Show signature and timestampSignature:
Timestamp of file with hash |
Oh, in the release notes it should say v22 and bitcoin-tx had no behaviour change at all, so no release notes needed?! |
28bd30a
to
3add69b
Compare
Thanks @MarcoFalke, release notes have been corrected |
re-ACK 3add69b 🚅 Show signature and timestampSignature:
Timestamp of file with hash |
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.
ACK 3add69b
Happy to re-ACK if you update.
3add69b
to
b456004
Compare
Thanks for the review @jonatack - I made all your suggestions. I had to edit some commits and force push. I'm hoping this didn't throw a wrench in your review @MarcoFalke . If it did and you know a better way I could've done it please lmk so I can avoid this in the future 😬 |
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.
b456004
to
92dc5e9
Compare
Code review re-ACK 92dc5e9 only changes are documentation and squashing two commits to one, checked |
ba551e1
to
c45b133
Compare
Rebased.
Done c45b133 |
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.
review ACK f1acb54 🐯
Show signature and timestamp
Signature:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
review ACK f1acb5434f 🐯
-----BEGIN PGP SIGNATURE-----
iQGzBAEBCgAdFiEE+rVPoUahrI9sLGYTzit1aX5ppUgFAlwqrYAACgkQzit1aX5p
pUgi5Qv/ZHz7rCf4k/qbLPVJkl28A1bwknL9PtYwyfKkTq4BUREjjGmQoQQbbUjs
jkHWzJxVKVveR9i9D+v/oEuZLEh64BdRAiirB6UG40fuaEKI3eYiV9IvkrowjzyO
R91NYDJzGSCzuqDbAg9OBnQShxtZKKQ/DENoxMayCOQXbDfwO5CFGy8gTB17s+hp
DXJ2Rq9R2J7rYshpfRPaLbJf2ZxzZlJa9A/lqv+ls9FdCuet3jhjOs/Aoknd/f/I
3cZzK8skniakpyEq0TjCIwdwfaaJXZdMJyPIiRdGXIjVP3BMradUjdPpwGMdvZpF
AnfCdkmxksCGy1EJbH3Gipbo/PF3Cp1oQ1uwE4+oq16wxOUoLGSeFqtAwg5mCSKt
itvsYyQhP2Erm/FNwas/la+nFusyDlkDSOgMHpg0XFzdEoqslAM3g2IxWFg4FKPs
qqvI1Jl44hfRkBErCnn7edYmTpA5uGOvYxwAJSns0WUQsh7h4MMTexM7+xOwbCOh
NXsg0pdM
=FPMp
-----END PGP SIGNATURE-----
Timestamp of file with hash 1eb7fc34e86b60e73cdd3193dc2eeb609ebf87c032e3483f7067eb23fe71b73a -
c45b133
to
f1acb54
Compare
I got rid of two commits I thought were slightly unnecessary and would be better off in a followup refactor PR: I will be making the changes @MarcoFalke suggested in the followup PR as the only remaining requested changes from this review were related to those last commits. |
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.
my previous review is now valid
f1acb54
to
43cd6b8
Compare
Rebased |
re-ACK 43cd6b8 🐉 Show signature and timestampSignature:
Timestamp of file with hash |
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.
Code review ACK 43cd6b8
Commit refactor: minor styling, prefer snake case and same line if
should be squashed with the previous refactoring commit.
ScriptToUniv(script, o3, true); | ||
UniValue o4(UniValue::VOBJ); | ||
ScriptToUniv(script, o4, false); | ||
ScriptToUniv(script, o3); |
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.
This should really be replaced with include_address=true/false
checks on ScriptPubKeyToUniv(script, o4, fIncludeHex, include_address)
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.
Good point, this isn't really needed. But because the followup PR #22924 merges ScriptPubKeyToUniv
and ScriptToUniv
into a single function it will be getting rid of this anyways. So this will be removed in the followup
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.
ACK 43cd6b8 per git range-diff a9d0cec 92dc5e9 43cd6b8
, also rebased to latest master, debug built + quick re-review of each commit to bring back context, and ran tests locally at the final commit
Resolves #21797 now that we've branched-off to v23 ("addresses" and "reqSigs" deprecated) "ExtractDestinations" should be removed.
-deprecatedrpc=addresses
was initially added in this PR #20286 (which resolved the original issue #20102).Some chunks of code and logic are no longer used/necessary with the removal of this, and therefore some minor refactoring is done in this PR as well (separated commits)