wallet: Add ConfirmationSpendPolicy to spend only [un]confirmed outputs#1855
wallet: Add ConfirmationSpendPolicy to spend only [un]confirmed outputs#1855stevenroose wants to merge 2 commits intobitcoindevkit:masterfrom
Conversation
|
How do I run |
7c72f01 to
9f75ef8
Compare
|
This should close bitcoindevkit/bdk_wallet#42 |
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
ValuedMammal
left a comment
There was a problem hiding this comment.
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
oleonardolima
left a comment
There was a problem hiding this comment.
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
|
Hey @stevenroose, this PR needs to be closed and moved to the new bdk_wallet repo. Here's how:
|
|
Resolved by bitcoindevkit/bdk_wallet#258. |

Description
fixes bitcoindevkit/bdk_wallet#42
Notes to the reviewers
Changelog notice
Checklists
All Submissions:
cargo fmtandcargo clippybefore committingNew Features:
Bugfixes: