Get desktop application:
View/edit binary Protocol Buffers messages
WatchtowerClient is a service that grants access to the watchtower client functionality of the daemon.
lncli: `wtclient add` AddTower adds a new watchtower reachable at the given address and considers it for new sessions. If the watchtower already exists, then any new addresses included will be considered when dialing it for session negotiations and backups.
The identifying public key of the watchtower to add.
A network address the watchtower is reachable over.
(message has no fields)
lncli: `wtclient remove` RemoveTower removes a watchtower from being considered for future session negotiations and from being used for any subsequent backups until it's added again. If an address is provided, then this RPC only serves as a way of removing the address from the watchtower instead.
The identifying public key of the watchtower to remove.
If set, then the record for this address will be removed, indicating that is is stale. Otherwise, the watchtower will no longer be used for future session negotiations and backups.
(message has no fields)
lncli: `wtclient deactivate` DeactivateTower sets the given tower's status to inactive so that it is not considered for session negotiation. Its sessions will also not be used while the tower is inactive.
The identifying public key of the watchtower to deactivate.
A string describing the action that took place.
lncli: `wtclient session terminate` Terminate terminates the given session and marks it as terminal so that it is not used for backups anymore.
The ID of the session that should be terminated.
A string describing the action that took place.
lncli: `wtclient towers` ListTowers returns the list of watchtowers registered with the client.
Whether we should include sessions with the watchtower in the response.
Whether to exclude exhausted sessions in the response info. This option is only meaningful if include_sessions is true.
The list of watchtowers available for new backups.
lncli: `wtclient tower` GetTowerInfo retrieves information for a registered watchtower.
The identifying public key of the watchtower to retrieve information for.
Whether we should include sessions with the watchtower in the response.
Whether to exclude exhausted sessions in the response info. This option is only meaningful if include_sessions is true.
lncli: `wtclient stats` Stats returns the in-memory statistics of the client since startup.
(message has no fields)
The total number of backups made to all active and exhausted watchtower sessions.
The total number of backups that are pending to be acknowledged by all active and exhausted watchtower sessions.
The total number of backups that all active and exhausted watchtower sessions have failed to acknowledge.
The total number of new sessions made to watchtowers.
The total number of watchtower sessions that have been exhausted.
lncli: `wtclient policy` Policy returns the active watchtower client policy configuration.
The client type from which to retrieve the active offering policy.
The maximum number of updates each session we negotiate with watchtowers should allow.
Deprecated, use sweep_sat_per_vbyte. The fee rate, in satoshis per vbyte, that will be used by watchtowers for justice transactions in response to channel breaches.
The fee rate, in satoshis per vbyte, that will be used by watchtowers for justice transactions in response to channel breaches.
Used in:
,Selects the policy from the legacy tower client.
Selects the policy from the anchor tower client.
Selects the policy from the taproot tower client.
Used as response type in: WatchtowerClient.GetTowerInfo
Used as field type in:
The identifying public key of the watchtower.
The list of addresses the watchtower is reachable over.
Deprecated, use the active_session_candidate field under the correct identifier in the client_type map. Whether the watchtower is currently a candidate for new sessions.
Deprecated, use the num_sessions field under the correct identifier in the client_type map. The number of sessions that have been negotiated with the watchtower.
Deprecated, use the sessions field under the correct identifier in the client_type map. The list of sessions that have been negotiated with the watchtower.
A list sessions held with the tower.
Used in:
,The total number of successful backups that have been made to the watchtower session.
The total number of backups in the session that are currently pending to be acknowledged by the watchtower.
The maximum number of backups allowed by the watchtower session.
Deprecated, use sweep_sat_per_vbyte. The fee rate, in satoshis per vbyte, that will be used by the watchtower for the justice transaction in the event of a channel breach.
The fee rate, in satoshis per vbyte, that will be used by the watchtower for the justice transaction in the event of a channel breach.
The ID of the session.
Used in:
Whether the watchtower is currently a candidate for new sessions.
The number of sessions that have been negotiated with the watchtower.
The list of sessions that have been negotiated with the watchtower.
The session's policy type.