-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Describe the enhancement
psbt.finalize() creates Tx from a PSBT. I would like to be able to reverse this, given the corresponding wallet is available. I am not sure this is possible, but would be great for the use case below.
PSBT.from_tx(transaction: Transaction, wallet:Wallet)->PSBT
Use case
- A finalizes multisig transaction contains signatures. However it is not clear which signer (fingerprint) created which signatures. A PSBT has however this association of fingerprints with signature: Feature request: PSBT (missing) signature info bdk-ffi#419
- Why would one like to do this identification? Because that allows one to check when a signer was last able to sign. This gives a health status for each signer.
- Why not get it from the PSBT directly? Because the last hardware signer typically finalizes the tx to have a smaller QR code. (Or the final tx is broadcasted another method via push_tx for example)
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status