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

refactor: Disable unused special members functions in UnlockContext #711

Merged
merged 1 commit into from
Feb 15, 2023

Conversation

hebasto
Copy link
Member

@hebasto hebasto commented Feb 14, 2023

Also UnlockContext::valid and UnlockContext::relock are const now.

@DrahtBot
Copy link
Contributor

DrahtBot commented Feb 14, 2023

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK john-moffett, furszy, achow101

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

Conflicts

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.

@hebasto
Copy link
Member Author

hebasto commented Feb 14, 2023

Friendly ping @achow101 @furszy @john-moffett @Sjors :)

Copy link
Contributor

@john-moffett john-moffett left a comment

Choose a reason for hiding this comment

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

ACK 9fa43b5

Copy link
Member

@furszy furszy left a comment

Choose a reason for hiding this comment

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

ACK 9fa43b5

@achow101
Copy link
Member

ACK 9fa43b5

@achow101 achow101 merged commit 5474253 into bitcoin-core:master Feb 15, 2023
@hebasto hebasto deleted the 230214-unlock branch February 16, 2023 08:20
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Feb 16, 2023
…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
Copy link
Member

@jonatack jonatack left a 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.

ftrader pushed a commit to bitcoin-cash-node/bitcoin-cash-node that referenced this pull request Jun 8, 2023
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`
@bitcoin-core bitcoin-core locked and limited conversation to collaborators Feb 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants