lnrpc: remove ConfirmationUpdate message from close status updates

This commit is contained in:
Joost Jager committed 2019-01-03 09:06:52 +01:00
1 parent f7fb9486b4
commit 237f2b6d4b
3 files changed
+532 -625

No files matched your search

+532 -600
View File
File diff suppressed because it is too large. Load diff
-2
View File
@@ -1191,7 +1191,6 @@ message CloseChannelRequest {
message CloseStatusUpdate { message CloseStatusUpdate {
oneof update { oneof update {
PendingUpdate close_pending = 1 [json_name = "close_pending"]; PendingUpdate close_pending = 1 [json_name = "close_pending"];
ConfirmationUpdate confirmation = 2 [json_name = "confirmation"];
ChannelCloseUpdate chan_close = 3 [json_name = "chan_close"]; ChannelCloseUpdate chan_close = 3 [json_name = "chan_close"];
} }
} }
@@ -1238,7 +1237,6 @@ message OpenChannelRequest {
message OpenStatusUpdate { message OpenStatusUpdate {
oneof update { oneof update {
PendingUpdate chan_pending = 1 [json_name = "chan_pending"]; PendingUpdate chan_pending = 1 [json_name = "chan_pending"];
ConfirmationUpdate confirmation = 2 [json_name = "confirmation"];
ChannelOpenUpdate chan_open = 3 [json_name = "chan_open"]; ChannelOpenUpdate chan_open = 3 [json_name = "chan_open"];
} }
} }
-23
View File
@@ -1599,9 +1599,6 @@
"close_pending": { "close_pending": {
"$ref": "#/definitions/lnrpcPendingUpdate" "$ref": "#/definitions/lnrpcPendingUpdate"
}, },
"confirmation": {
"$ref": "#/definitions/lnrpcConfirmationUpdate"
},
"chan_close": { "chan_close": {
"$ref": "#/definitions/lnrpcChannelCloseUpdate" "$ref": "#/definitions/lnrpcChannelCloseUpdate"
} }
@@ -1639,23 +1636,6 @@
} }
} }
}, },
"lnrpcConfirmationUpdate": {
"type": "object",
"properties": {
"block_sha": {
"type": "string",
"format": "byte"
},
"block_height": {
"type": "integer",
"format": "int32"
},
"num_confs_left": {
"type": "integer",
"format": "int64"
}
}
},
"lnrpcConnectPeerRequest": { "lnrpcConnectPeerRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
@@ -2420,9 +2400,6 @@
"chan_pending": { "chan_pending": {
"$ref": "#/definitions/lnrpcPendingUpdate" "$ref": "#/definitions/lnrpcPendingUpdate"
}, },
"confirmation": {
"$ref": "#/definitions/lnrpcConfirmationUpdate"
},
"chan_open": { "chan_open": {
"$ref": "#/definitions/lnrpcChannelOpenUpdate" "$ref": "#/definitions/lnrpcChannelOpenUpdate"
} }