-
Notifications
You must be signed in to change notification settings - Fork 288
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
refactor: Disable unused special members functions in UnlockContext
#711
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. 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. |
Friendly ping @achow101 @furszy @john-moffett @Sjors :) |
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 9fa43b5
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 9fa43b5
ACK 9fa43b5 |
…functions in `UnlockContext` 9fa43b5 refactor: Disable unused special members functions in `UnlockContext` (Hennadii Stepanov) Pull request description: Also `UnlockContext::valid` and `UnlockContext::relock` are `const` now. ACKs for top commit: achow101: ACK 9fa43b5 john-moffett: ACK 9fa43b5 furszy: ACK 9fa43b5 Tree-SHA512: 6d9fa8208676b9bd5d85b73cb2d3136e7f28ef59e68ee34915ec598458868e302a80b9ef1384c0bf7a4c42f936830c3add9662ca0bae73860a55a25cc374b699
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.
Post-merge ACK and nice application of the rule of five.
Summary --- This was discovered when trying to investigate fixes to Bitcoin-ABC#497. It builds on top of !1760 to completely remove some of the problematic but unused dead code. It is a backport from: bitcoin-core/gui#711 Original commit message: Also UnlockContext::valid and UnlockContext::relock are const now. Test Plan --- - `ninja all check`
Also
UnlockContext::valid
andUnlockContext::relock
areconst
now.