Feat/allow external inputs - #152
Draft
Sosthene00 wants to merge 7 commits into
Draft
Conversation
Sosthene00
force-pushed
the
feat/coin_selection_strategies
branch
from
August 12, 2026 10:34
e3ca307 to
f77c5cc
Compare
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
force-pushed
the
feat/allow_external_inputs
branch
from
August 12, 2026 10:42
9feb801 to
84bcafd
Compare
Sosthene00
force-pushed
the
feat/coin_selection_strategies
branch
2 times, most recently
from
August 21, 2026 13:13
cd9ca64 to
83fc3cd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.