Skip to content

Restore sender UTXOs before Payjoin Signing - #280

Merged
DanGould merged 1 commit into
payjoin:masterfrom
DanGould:keep-sender-txos
Jun 5, 2024
Merged

DanGould merged 1 commit into
payjoin:masterfrom
DanGould:keep-sender-txos

Conversation

@DanGould

@DanGould DanGould commented Jun 3, 2024

Copy link
Copy Markdown
Member

BIP78 requires sender UTXOs to be removed by the receiver before returning them to the sender. Many wallets have problems signing PSBTs that only specify OutPoint and not UTXO data. Since the sender made the Original PSBT, it can restore the UTXO data to the Payjoin PSBT before signing to accommodate more wallets.

--

fix #276

BIP78 requires sender UTXOs to be removed by the receiver before
returning them to the sender. Many wallets have problems signing PSBTs
that only specify OutPoint and not UTXO data. Since the sender made
the Original PSBT, it can restore the UTXO data to the Payjoin PSBT
before signing to accomodate more wallets.
@DanGould DanGould added enhancement New feature or request send sending payjoin labels Jun 3, 2024
@DanGould DanGould changed the title Restore sender UTXOS before Payjoin Signing Restore sender UTXOs before Payjoin Signing Jun 3, 2024
@DanGould
DanGould requested a review from spacebear21 June 3, 2024 20:19
@DanGould DanGould added the api label Jun 5, 2024
@DanGould

DanGould commented Jun 5, 2024

Copy link
Copy Markdown
Member Author

I've added the API label since this changes the result of the API, even though I don't think it will break any downstream consumer integration.

@DanGould
DanGould merged commit 457a0dd into payjoin:master Jun 5, 2024
@DanGould
DanGould deleted the keep-sender-txos branch June 5, 2024 15:38
@DanGould DanGould mentioned this pull request Jun 17, 2024
14 of 17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api enhancement New feature or request send sending payjoin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Include original_psbt input txos to payjoin_psbt for sender signing and broadcast

2 participants