-
Notifications
You must be signed in to change notification settings - Fork 354
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
wallet: Add ConfirmationSpendPolicy to spend only [un]confirmed outputs #1855
base: master
Are you sure you want to change the base?
Conversation
How do I run |
7c72f01
to
9f75ef8
Compare
This should close #1741 |
We use the default rustfmt config (no toml file) using the stable toolchain set to the current |
It seems like this codebase doesn't allow using |
It's in a unit test even for crying out loud. |
sigh how is assert!(!ret
... 5 lines later
any()); More readable than using |
Fwiw, I pushed a commit to comply with CI. Didn't put my name on it, though. |
102c07b
to
ef018d9
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.
Thanks for working on this @stevenroose
ef018d9
to
b0d2c72
Compare
The CI failures seem to be about stuff I didn't touch. Can they be restarted? |
This branch includes: - bitcoindevkit/bdk#1855 - bitcoindevkit/bdk#1839 - the patch for esplora-client
b0d2c72
to
ce723f1
Compare
Rebased. |
ce723f1
to
1bdf729
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.
cACK 1bdf729
Thanks for working on this one, it looks pretty straight-forward. I was wondering about the name, but couldn't get to anything better 🤔 (should we stick with ...Forbidden
usage as in ChangePolicy?).
I'd squash it into a single commit, and add the feat(wallet):
prefix for conventional commits though.
Hmm, well, Change is more binary than Confirmed, I felt. You mean doing Anyway, semantics, happy to bikeshed more :) |
1bdf729
to
4309fb3
Compare
Description
Notes to the reviewers
Changelog notice
Checklists
All Submissions:
cargo fmt
andcargo clippy
before committingNew Features:
Bugfixes: