Skip to content

Feat/allow external inputs - #152

Draft
Sosthene00 wants to merge 7 commits into
feat/coin_selection_strategiesfrom
feat/allow_external_inputs
Draft

Feat/allow external inputs#152
Sosthene00 wants to merge 7 commits into
feat/coin_selection_strategiesfrom
feat/allow_external_inputs

Conversation

@Sosthene00

Copy link
Copy Markdown
Collaborator

No description provided.

@Sosthene00
Sosthene00 force-pushed the feat/coin_selection_strategies branch from e3ca307 to f77c5cc Compare August 12, 2026 10:34
Add candidate_from_external_utxo for externally-provided mandatory inputs.
Only standard script types with a statically-known worst-case satisfaction
weight are accepted (P2TR key-path, P2WPKH, P2PKH), so a counterparty cannot
understate the weight of their input and corrupt fee estimation.

Groundwork for PSBT-based collaborative transactions.
Thread external_utxos through propose_coin_selections, propose_drain_selection
and create_transaction_from_selection. External outpoints in a selection are
resolved from external_utxos and stored as SpendingData::Legacy; the wallet
skips them when signing and excludes them from the partial secret.

Groundwork for PSBT-based collaborative transactions.
@Sosthene00
Sosthene00 force-pushed the feat/allow_external_inputs branch from 9feb801 to 84bcafd Compare August 12, 2026 10:42
@Sosthene00
Sosthene00 force-pushed the feat/coin_selection_strategies branch 2 times, most recently from cd9ca64 to 83fc3cd Compare August 21, 2026 13:13
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.

1 participant