-
Notifications
You must be signed in to change notification settings - Fork 37.8k
test: Add Wallet Unlock Context Manager #28617
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
test: Add Wallet Unlock Context Manager #28617
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code CoverageFor detailed information about the code coverage, see the test coverage report. 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. |
a6bded9
to
a3e3d3c
Compare
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.
I think there is one more that can be using the context:
test/functional/wallet_fundrawtransaction.py: wallet.walletpassphrase("test", 999000)
a0c1822
to
c633551
Compare
Add Context Manager to manage wallet locking/unlocking with passphrase
c633551
to
004903e
Compare
@maflcko could you please review the changes |
lgtm ACK 004903e |
lgtm ACK 004903e |
Hey @BrandonOdiwuor, nice work on these changes. I know that this PR has been closed, but I finally finished my review of all the files. Apologies for the delay. I'm trying to get up to speed and have to work very slowly at the moment. I learned a ton from your work and have already gotten some value from the code review, but I'm not sure of the best way to contribute these changes. They can be found here: master...kashifs:bitcoin:master Please let me know what you think. Thanks! |
Fixes #28601, see #28403 (comment)
Add Context Manager to manage the locking and unlocking of locked wallets with a passphrase during testing.