Skip to content
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

Ratchet feature deprecation #6282

Merged
merged 6 commits into from Jan 6, 2023
Merged

Conversation

str4d
Copy link
Contributor

@str4d str4d commented Dec 3, 2022

Closes #1555.
Closes #5513.
Closes #6318.

@str4d str4d added the C-deprecation Category: Deprecation and removal of functionality. label Dec 3, 2022
@str4d str4d added this to the Release 5.4.0 milestone Dec 3, 2022
@str4d str4d added the safe-to-build Used to send PR to prod CI environment label Dec 3, 2022
@ECC-CI ECC-CI removed the safe-to-build Used to send PR to prod CI environment label Dec 3, 2022
@str4d str4d force-pushed the ratchet-feature-deprecation branch from 0f8c293 to 00e0340 Compare December 4, 2022 22:18
@str4d str4d added the safe-to-build Used to send PR to prod CI environment label Dec 4, 2022
@ECC-CI ECC-CI removed the safe-to-build Used to send PR to prod CI environment label Dec 4, 2022
@str4d str4d force-pushed the ratchet-feature-deprecation branch from 00e0340 to 9b6694a Compare December 14, 2022 00:51
The RPC method handler is left in as a tombstone, to redirect callers to
the replacement method (as this is an upstream Bitcoin Core RPC method
that users may expect to be present).
@str4d str4d force-pushed the ratchet-feature-deprecation branch from 9b6694a to cbaf6b6 Compare January 3, 2023 12:37
@str4d str4d added the safe-to-build Used to send PR to prod CI environment label Jan 3, 2023
@ECC-CI ECC-CI removed the safe-to-build Used to send PR to prod CI environment label Jan 3, 2023
@str4d str4d force-pushed the ratchet-feature-deprecation branch from cbaf6b6 to 6ca3648 Compare January 3, 2023 17:46
@str4d str4d added the safe-to-build Used to send PR to prod CI environment label Jan 3, 2023
@ECC-CI ECC-CI removed the safe-to-build Used to send PR to prod CI environment label Jan 3, 2023
@str4d str4d force-pushed the ratchet-feature-deprecation branch from 6ca3648 to 1671e40 Compare January 4, 2023 19:22
@str4d str4d added the safe-to-build Used to send PR to prod CI environment label Jan 4, 2023
@ECC-CI ECC-CI removed the safe-to-build Used to send PR to prod CI environment label Jan 4, 2023
@str4d str4d force-pushed the ratchet-feature-deprecation branch from 1671e40 to 12ca9c9 Compare January 5, 2023 13:36
@str4d str4d added the safe-to-build Used to send PR to prod CI environment label Jan 5, 2023
@str4d str4d force-pushed the ratchet-feature-deprecation branch from 12ca9c9 to 1de496f Compare January 5, 2023 13:37
@str4d str4d added safe-to-build Used to send PR to prod CI environment and removed safe-to-build Used to send PR to prod CI environment labels Jan 5, 2023
@ECC-CI ECC-CI removed the safe-to-build Used to send PR to prod CI environment label Jan 5, 2023
@str4d str4d marked this pull request as ready for review January 5, 2023 14:57
qa/rpc-tests/bipdersig-p2p.py Outdated Show resolved Hide resolved
nuttycom
nuttycom previously approved these changes Jan 5, 2023
Copy link
Contributor

@nuttycom nuttycom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

BASE_ARGS = [
'-allowdeprecated=z_getnewaddress',
'-allowdeprecated=z_getbalance',
]
TURNSTILE_ARGS = ['-experimentalfeatures',
'-developersetpoolsizezero']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: use the same indentation as for BASE_ARGS.

src/rpc/misc.cpp Outdated Show resolved Hide resolved
daira
daira previously approved these changes Jan 5, 2023
Copy link
Contributor

@daira daira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK, all comments are non-blocking.

These features were deprecated at least 3 minor releases ago. I found
one mistake which was that `z_validateaddress` had not been placed
behind the `addrtype` deprecated feature; this has been fixed.
@str4d str4d dismissed stale reviews from daira and nuttycom via 5cc15a8 January 5, 2023 22:32
@str4d str4d force-pushed the ratchet-feature-deprecation branch from 1de496f to 5cc15a8 Compare January 5, 2023 22:32
@str4d str4d added the safe-to-build Used to send PR to prod CI environment label Jan 5, 2023
@str4d
Copy link
Contributor Author

str4d commented Jan 5, 2023

Force-pushed to address @daira's comments.

@ECC-CI ECC-CI removed the safe-to-build Used to send PR to prod CI environment label Jan 5, 2023
Copy link
Contributor

@nuttycom nuttycom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@nuttycom nuttycom merged commit 20996b4 into zcash:master Jan 6, 2023
@str4d str4d deleted the ratchet-feature-deprecation branch January 6, 2023 19:16
@daira
Copy link
Contributor

daira commented Jan 7, 2023

Post-hoc ACK for the changes since my last review.

str4d added a commit to str4d/zcash that referenced this pull request Mar 13, 2023
The deprecated feature was originally only applied to wallet code, but
in zcash#6282 it was extended to a missing case in non-wallet
code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-deprecation Category: Deprecation and removal of functionality.
Projects
None yet
4 participants