Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions cmd/commands/wtclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,15 +376,23 @@ func policy(ctx *cli.Context) error {
}

var sessionCommands = cli.Command{
Name: "session",
Name: "session",
Usage: "Manage watchtower client sessions.",
Description: "This command allows users " +
"to manage their watchtower client sessions," +
"specifically to terminate an active session",
Subcommands: []cli.Command{
terminateSessionCommand,
},
}

var terminateSessionCommand = cli.Command{
Name: "terminate",
ArgsUsage: "id",
Name: "terminate",
Usage: "Terminate an active watchtower session.",
Description: "This command ends a session using " +
"its unique session ID. It stops further backups " +
"but does not affect past backup data",
ArgsUsage: "session_id",
Action: actionDecorator(terminateSession),
}

Expand Down
5 changes: 5 additions & 0 deletions docs/release-notes/release-notes-0.19.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,11 @@ The underlying functionality between those two options remain the same.
[1](https://github.com/lightningnetwork/lnd/pull/9476)
[2](https://github.com/lightningnetwork/lnd/pull/9477)
[3](https://github.com/lightningnetwork/lnd/pull/9478).

* [Watchtower Client Commands](https://github.com/lightningnetwork/lnd/pull/9588): -
Added detailed descriptions for the session and terminate commands in lncli wtclient.
The session command now explains its purpose and how it manages watchtower sessions.
The terminate command provides clear guidance on terminating an active session by specifying its unique session ID.

## Breaking Changes
## Performance Improvements
Expand Down