-
Notifications
You must be signed in to change notification settings - Fork 426
Open
Labels
Description
An external signer wants to see that the commitment transaction was signed by the counterparty before releasing the funding signature. Without the commitment counter-signature, the signer cannot be sure that the channel funds won't be locked forever.
Since the commitment tx depends on the funding tx, we need to separate funding generation from funding signing:
- generate the funding transaction
- generate the commitment transaction
- have the commitment transaction signed by the counterparty
- provide the signature to the signer via
validate_holder_commitment - sign the funding transaction
This could be done with a new type of Event callback.