lnrpc: add final raw TX to PSBT finalize

This commit is contained in:
Oliver Gugger committed 2020-09-15 08:30:21 +02:00
1 parent 7f68649b44
commit c4ada8a592
3 files changed
+779 -754

No files matched your search

+765 -752
View File
File diff suppressed because it is too large. Load diff
+8 -1
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 {
+6 -1
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."
}
}
},