You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move extract_fallback_tx to MaybeInputsOwned (payjoin#801)
Per BIP-77:
> At any point, either party may choose to broadcast the fallback
> transaction described by the Original PSBT instead of proceeding.
However, the fallback transaction available at the `UncheckedProposal`
typestate may not be "broadcastable". Only after transitioning to
`MaybeInputsOwned` via `check_broadcast_suitability` can we determine
with high confidence that the fallback is valid for broadcast.
Related PR: [payjoin#799](payjoin#799)
/// Call after checking that the Original PSBT can be broadcast.
352
347
///
353
348
/// Receiver MUST check that the Original PSBT from the sender can be broadcast, i.e. testmempoolaccept bitcoind rpc returns { “allowed”: true,.. } for get_transaction_to_check_broadcast() before calling this method.
0 commit comments