routerrpc: add UpdateChanStatus RPC to Router service

Update router.proto and rest-annotations.yaml, recompile protos,
add a stub implementation to routerrpc.Server.
This commit is contained in:
Elliott Jin committed 2021-02-24 07:13:28 -08:00
1 parent a259317d72
commit 4e4f4bc194
5 files changed
+406 -180

No files matched your search

+31
View File
@@ -407,6 +407,25 @@
],
"default": "IN_FLIGHT"
},
"lnrpcChannelPoint": {
"type": "object",
"properties": {
"funding_txid_bytes": {
"type": "string",
"format": "byte",
"description": "Txid of the funding transaction. When using REST, this field must be\nencoded as base64."
},
"funding_txid_str": {
"type": "string",
"description": "Hex-encoded string representing the byte-reversed hash of the funding\ntransaction."
},
"output_index": {
"type": "integer",
"format": "int64",
"title": "The index of the output of the funding transaction"
}
}
},
"lnrpcChannelUpdate": {
"type": "object",
"properties": {
@@ -883,6 +902,15 @@
}
}
},
"routerrpcChanStatusAction": {
"type": "string",
"enum": [
"ENABLE",
"DISABLE",
"AUTO"
],
"default": "ENABLE"
},
"routerrpcCircuitKey": {
"type": "object",
"properties": {
@@ -1447,6 +1475,9 @@
"routerrpcSettleEvent": {
"type": "object"
},
"routerrpcUpdateChanStatusResponse": {
"type": "object"
},
"runtimeError": {
"type": "object",
"properties": {