Merge pull request #5033 from robot-dreams/set-channel-status

Add lncli command / RPC for manually setting channel state
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2021-03-09 18:12:08 -08:00
commit 65b0bbcd53
25 files changed
+1230 -330

No files matched your search

+31
View File
@@ -408,6 +408,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": {
@@ -884,6 +903,15 @@
}
}
},
"routerrpcChanStatusAction": {
"type": "string",
"enum": [
"ENABLE",
"DISABLE",
"AUTO"
],
"default": "ENABLE"
},
"routerrpcCircuitKey": {
"type": "object",
"properties": {
@@ -1448,6 +1476,9 @@
"routerrpcSettleEvent": {
"type": "object"
},
"routerrpcUpdateChanStatusResponse": {
"type": "object"
},
"runtimeError": {
"type": "object",
"properties": {