lnrpc: add SubscribeChannels RPC & relevant messages to RPC protos.

This commit is contained in:
Valentine Wallace committed 2019-02-05 18:18:06 -08:00
1 parent 10090a978d
commit 8b388b1301
4 files changed
+984 -564

No files matched your search

+30
View File
@@ -1127,6 +1127,16 @@
],
"default": "COOPERATIVE_CLOSE"
},
"ChannelEventUpdateUpdateType": {
"type": "string",
"enum": [
"OPEN_CHANNEL",
"CLOSED_CHANNEL",
"ACTIVE_CHANNEL",
"INACTIVE_CHANNEL"
],
"default": "OPEN_CHANNEL"
},
"InvoiceInvoiceState": {
"type": "string",
"enum": [
@@ -1548,6 +1558,26 @@
}
}
},
"lnrpcChannelEventUpdate": {
"type": "object",
"properties": {
"open_channel": {
"$ref": "#/definitions/lnrpcChannel"
},
"closed_channel": {
"$ref": "#/definitions/lnrpcChannelCloseSummary"
},
"active_channel": {
"$ref": "#/definitions/lnrpcChannelPoint"
},
"inactive_channel": {
"$ref": "#/definitions/lnrpcChannelPoint"
},
"type": {
"$ref": "#/definitions/ChannelEventUpdateUpdateType"
}
}
},
"lnrpcChannelFeeReport": {
"type": "object",
"properties": {