lnrpc+lncli: add TerminateSession command
This commit is contained in:
9 files changed
+657
-216
No files matched your search
@@ -49,6 +49,13 @@ service WatchtowerClient {
|
||||
rpc DeactivateTower (DeactivateTowerRequest)
|
||||
returns (DeactivateTowerResponse);
|
||||
|
||||
/* lncli: `wtclient session terminate`
|
||||
Terminate terminates the given session and marks it as terminal so that
|
||||
it is not used for backups anymore.
|
||||
*/
|
||||
rpc TerminateSession (TerminateSessionRequest)
|
||||
returns (TerminateSessionResponse);
|
||||
|
||||
/* lncli: `wtclient towers`
|
||||
ListTowers returns the list of watchtowers registered with the client.
|
||||
*/
|
||||
@@ -106,6 +113,16 @@ message DeactivateTowerResponse {
|
||||
string status = 1;
|
||||
}
|
||||
|
||||
message TerminateSessionRequest {
|
||||
// The ID of the session that should be terminated.
|
||||
bytes session_id = 1;
|
||||
}
|
||||
|
||||
message TerminateSessionResponse {
|
||||
// A string describing the action that took place.
|
||||
string status = 1;
|
||||
}
|
||||
|
||||
message GetTowerInfoRequest {
|
||||
// The identifying public key of the watchtower to retrieve information for.
|
||||
bytes pubkey = 1;
|
||||
|
||||
Reference in new issue
Block a user