Skip to content

Conversation

@aagbotemi
Copy link
Collaborator

This PR implements extension trait for Wallet to provide InputCandidates for general coin selection and RBF

This PR satisfies the requirements:

  • Introduces a feature flag wallet_ext.
  • Two methods: all_candidates() for general coin selection, and rbf_candidates() for RBF.
  • rbf_candidates() takes set of transactions to replace
  • Error is returned if there are descendants not included in the replacement set.
  • Explicit opt-in mechanism for replacing all transactions
  • I've signed all my commits
  • I ran cargo fmt and cargo clippy before committing

Closes #12

@aagbotemi aagbotemi force-pushed the feature/wallet_extension_trait branch from 23cdcc0 to 4d9e0f2 Compare July 12, 2025 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create extension trait that extends Wallet to return InputCandidates

1 participant