lnrpc: expose commitment type on pending open and waiting close channels

This commit is contained in:
Joost Jager committed 2020-03-31 19:35:52 +02:00
1 parent 41573004a3
commit baffe156db
4 files changed
+790 -755

No files matched your search

+8
View File
@@ -1314,6 +1314,11 @@ enum CommitmentType {
been broadcast.
*/
ANCHORS = 2;
/**
Returned when the commitment type isn't known or unavailable.
*/
UNKNOWN_COMMITMENT_TYPE = 999;
}
message Channel {
@@ -2087,6 +2092,9 @@ message PendingChannelsResponse {
// True if we initiated opening the channel.
bool initiator = 8;
/// The commitment type used by this channel.
CommitmentType commitment_type = 9;
}
message PendingOpenChannel {