lnrpc: include raw closing tx in waiting_close_channels

This commit is contained in:
Jesse de Wit
2024-01-25 11:44:25 +01:00
parent 0d37621bcb
commit e794bd37a4
5 changed files with 1977 additions and 1896 deletions

View File

@@ -2636,6 +2636,9 @@ message PendingHTLC {
}
message PendingChannelsRequest {
// Indicates whether to include the raw transaction hex for
// waiting_close_channels.
bool include_raw_tx = 1;
}
message PendingChannelsResponse {
message PendingChannel {
@@ -2733,6 +2736,10 @@ message PendingChannelsResponse {
// The transaction id of the closing transaction
string closing_txid = 4;
// The raw hex encoded bytes of the closing transaction. Included if
// include_raw_tx in the request is true.
string closing_tx_hex = 5;
}
message Commitments {