proto: add ChannelCommitUpdate to channel event updates

This commit is contained in:
bitromortac committed 2026-02-20 10:47:03 +01:00
1 parent 4701f00cfd
commit 4f22a5130d
3 files changed
+2936 -2828

No files matched your search

+2917 -2827
View File
File diff suppressed because it is too large. Load diff
+6
View File
@@ -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;
+13 -1
View File
@@ -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"
}