lnrpc: add final raw TX to PSBT finalize

This commit is contained in:
Oliver Gugger 2020-09-07 18:02:40 +02:00
parent 7f68649b44
commit c4ada8a592
No known key found for this signature in database
GPG Key ID: 8E4256593F177720
3 changed files with 779 additions and 754 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1859,12 +1859,19 @@ message FundingPsbtFinalize {
/*
The funded PSBT that contains all witness data to send the exact channel
capacity amount to the PK script returned in the open channel message in a
previous step.
previous step. Cannot be set at the same time as final_raw_tx.
*/
bytes signed_psbt = 1;
// The pending channel ID of the channel to get the PSBT for.
bytes pending_chan_id = 2;
/*
As an alternative to the signed PSBT with all witness data, the final raw
wire format transaction can also be specified directly. Cannot be set at the
same time as signed_psbt.
*/
bytes final_raw_tx = 3;
}
message FundingTransitionMsg {

View File

@ -3537,12 +3537,17 @@
"signed_psbt": {
"type": "string",
"format": "byte",
"description": "The funded PSBT that contains all witness data to send the exact channel\ncapacity amount to the PK script returned in the open channel message in a\nprevious step."
"description": "The funded PSBT that contains all witness data to send the exact channel\ncapacity amount to the PK script returned in the open channel message in a\nprevious step. Cannot be set at the same time as final_raw_tx."
},
"pending_chan_id": {
"type": "string",
"format": "byte",
"description": "The pending channel ID of the channel to get the PSBT for."
},
"final_raw_tx": {
"type": "string",
"format": "byte",
"description": "As an alternative to the signed PSBT with all witness data, the final raw\nwire format transaction can also be specified directly. Cannot be set at the\nsame time as signed_psbt."
}
}
},