lnrpc+rpcserver: add new fully resolved chan update event
This commit adds the new channel update event for a channel that is now fully resolved to the event subscription RPC.
This commit is contained in:
4 files changed
+1651
-1606
No files matched your search
+1631
-1605
File diff suppressed because it is too large.
Load diff
@@ -2249,6 +2249,7 @@ message ChannelEventUpdate {
|
||||
ChannelPoint active_channel = 3;
|
||||
ChannelPoint inactive_channel = 4;
|
||||
PendingUpdate pending_open_channel = 6;
|
||||
ChannelPoint fully_resolved_channel = 7;
|
||||
}
|
||||
|
||||
enum UpdateType {
|
||||
@@ -2257,6 +2258,7 @@ message ChannelEventUpdate {
|
||||
ACTIVE_CHANNEL = 2;
|
||||
INACTIVE_CHANNEL = 3;
|
||||
PENDING_OPEN_CHANNEL = 4;
|
||||
FULLY_RESOLVED_CHANNEL = 5;
|
||||
}
|
||||
|
||||
UpdateType type = 5;
|
||||
|
||||
@@ -2327,7 +2327,8 @@
|
||||
"CLOSED_CHANNEL",
|
||||
"ACTIVE_CHANNEL",
|
||||
"INACTIVE_CHANNEL",
|
||||
"PENDING_OPEN_CHANNEL"
|
||||
"PENDING_OPEN_CHANNEL",
|
||||
"FULLY_RESOLVED_CHANNEL"
|
||||
],
|
||||
"default": "OPEN_CHANNEL"
|
||||
},
|
||||
@@ -3306,6 +3307,9 @@
|
||||
"pending_open_channel": {
|
||||
"$ref": "#/definitions/lnrpcPendingUpdate"
|
||||
},
|
||||
"fully_resolved_channel": {
|
||||
"$ref": "#/definitions/lnrpcChannelPoint"
|
||||
},
|
||||
"type": {
|
||||
"$ref": "#/definitions/ChannelEventUpdateUpdateType"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user