proto: add ChannelCommitUpdate to channel event updates
This commit is contained in:
3 files changed
+2936
-2828
No files matched your search
+2917
-2827
File diff suppressed because it is too large.
Load diff
@@ -3064,6 +3064,10 @@ message PendingChannelsResponse {
|
||||
message ChannelEventSubscription {
|
||||
}
|
||||
|
||||
message ChannelCommitUpdate {
|
||||
Channel channel = 1;
|
||||
}
|
||||
|
||||
message ChannelEventUpdate {
|
||||
oneof channel {
|
||||
Channel open_channel = 1;
|
||||
@@ -3073,6 +3077,7 @@ message ChannelEventUpdate {
|
||||
PendingUpdate pending_open_channel = 6;
|
||||
ChannelPoint fully_resolved_channel = 7;
|
||||
ChannelPoint channel_funding_timeout = 8;
|
||||
ChannelCommitUpdate updated_channel = 9;
|
||||
}
|
||||
|
||||
enum UpdateType {
|
||||
@@ -3083,6 +3088,7 @@ message ChannelEventUpdate {
|
||||
PENDING_OPEN_CHANNEL = 4;
|
||||
FULLY_RESOLVED_CHANNEL = 5;
|
||||
CHANNEL_FUNDING_TIMEOUT = 6;
|
||||
CHANNEL_UPDATE = 7;
|
||||
}
|
||||
|
||||
UpdateType type = 5;
|
||||
|
||||
@@ -3125,7 +3125,8 @@
|
||||
"INACTIVE_CHANNEL",
|
||||
"PENDING_OPEN_CHANNEL",
|
||||
"FULLY_RESOLVED_CHANNEL",
|
||||
"CHANNEL_FUNDING_TIMEOUT"
|
||||
"CHANNEL_FUNDING_TIMEOUT",
|
||||
"CHANNEL_UPDATE"
|
||||
],
|
||||
"default": "OPEN_CHANNEL"
|
||||
},
|
||||
@@ -4478,6 +4479,14 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"lnrpcChannelCommitUpdate": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"channel": {
|
||||
"$ref": "#/definitions/lnrpcChannel"
|
||||
}
|
||||
}
|
||||
},
|
||||
"lnrpcChannelConstraints": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -4609,6 +4618,9 @@
|
||||
"channel_funding_timeout": {
|
||||
"$ref": "#/definitions/lnrpcChannelPoint"
|
||||
},
|
||||
"updated_channel": {
|
||||
"$ref": "#/definitions/lnrpcChannelCommitUpdate"
|
||||
},
|
||||
"type": {
|
||||
"$ref": "#/definitions/ChannelEventUpdateUpdateType"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user