rpc: add disconnect peer service and req/res messages
Issue: 139 This commit contains rpc service and messages for disconnecting remote peers identified dy public key
This commit is contained in:
1 parent
533cd69c7b
commit
cf4da784f0
5 files changed
+661
-481
No files matched your search
@@ -514,6 +514,30 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v1/peers/{pub_key}": {
|
||||
"delete": {
|
||||
"operationId": "DisconnectPeer",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/lnrpcDisconnectPeerResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "pub_key",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"Lightning"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/v1/transactions": {
|
||||
"get": {
|
||||
"operationId": "GetTransactions",
|
||||
@@ -953,6 +977,17 @@
|
||||
"lnrpcDeleteAllPaymentsResponse": {
|
||||
"type": "object"
|
||||
},
|
||||
"lnrpcDisconnectPeerRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"pub_key": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"lnrpcDisconnectPeerResponse": {
|
||||
"type": "object"
|
||||
},
|
||||
"lnrpcGetInfoRequest": {
|
||||
"type": "object"
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user