lnrpc: expose commit hashes for waiting close channels
To make it easier to determine which pending sweep to bump in order to get your anchor commitment tx confirmed.
This commit is contained in:
4 files changed
+870
-718
No files matched your search
+788
-713
File diff suppressed because it is too large.
Load diff
@@ -1982,6 +1982,23 @@ message PendingChannelsResponse {
|
||||
|
||||
/// The balance in satoshis encumbered in this channel
|
||||
int64 limbo_balance = 2;
|
||||
|
||||
/**
|
||||
A list of valid commitment transactions. Any of these can confirm at
|
||||
this point.
|
||||
*/
|
||||
Commitments commitments = 3;
|
||||
}
|
||||
|
||||
message Commitments {
|
||||
/// Hash of the local version of the commitment tx.
|
||||
string local_txid = 1;
|
||||
|
||||
/// Hash of the remote version of the commitment tx.
|
||||
string remote_txid = 2;
|
||||
|
||||
/// Hash of the remote pending version of the commitment tx.
|
||||
string remote_pending_txid = 3;
|
||||
}
|
||||
|
||||
message ClosedChannel {
|
||||
|
||||
@@ -1603,6 +1603,23 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"PendingChannelsResponseCommitments": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"local_txid": {
|
||||
"type": "string",
|
||||
"description": "/ Hash of the local version of the commitment tx."
|
||||
},
|
||||
"remote_txid": {
|
||||
"type": "string",
|
||||
"description": "/ Hash of the remote version of the commitment tx."
|
||||
},
|
||||
"remote_pending_txid": {
|
||||
"type": "string",
|
||||
"description": "/ Hash of the remote pending version of the commitment tx."
|
||||
}
|
||||
}
|
||||
},
|
||||
"PendingChannelsResponseForceClosedChannel": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -1718,6 +1735,10 @@
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"title": "/ The balance in satoshis encumbered in this channel"
|
||||
},
|
||||
"commitments": {
|
||||
"$ref": "#/definitions/PendingChannelsResponseCommitments",
|
||||
"description": "*\nA list of valid commitment transactions. Any of these can confirm at\nthis point."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user