lnrpc: remove ConfirmationUpdate message from close status updates

This commit is contained in:
Joost Jager 2018-12-20 22:57:31 +01:00
parent f7fb9486b4
commit 237f2b6d4b
3 changed files with 532 additions and 625 deletions

File diff suppressed because it is too large Load diff

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"];
} }
} }

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"
} }