Watchtower
A watchtower monitors Lightning Network channels and enforces penalties if a counterparty tries to cheat.
What Is a Watchtower?
A watchtower is a service that monitors the Bitcoin blockchain on behalf of a Lightning Network user and reacts if a channel partner tries to cheat while that user is offline.
A Lightning channel is updated off-chain, and every update revokes the previous state. If a partner publishes a revoked state to claim more than they are owed, the other side has a limited time window to respond with a penalty transaction, also called a justice transaction, that takes the entire channel balance. That gap is what a watchtower covers.
With each channel update, the node hands the watchtower an encrypted penalty transaction and a hint derived from the ID of the revoked transaction. The tower can decrypt it only when that exact transaction appears on-chain, and then broadcasts it. The transaction is already signed, so the tower can publish it but cannot redirect the funds, and it never holds the channel keys.
A watchtower must itself stay online, and it only helps against revoked states. It can be a third-party service or your own second machine; LND, for example, includes a watchtower server and client. For hardware wallet owners this is mostly context: Lightning keys sit on an online node, so channels suit spending money, while savings stay on-chain under the hardware wallet's keys.
Real-World Examples
Example 1: A shop runs a Lightning node on a small computer behind the counter and registers it with a watchtower on a rented server. During a week-long power cut a former channel partner publishes an old state. The watchtower broadcasts the penalty transaction, and the shop receives the full channel balance.
Example 2: Bob does not want to rely on a third party, so he runs his own watchtower at a friend's house. It receives encrypted updates from his node and would act only if a revoked transaction showed up on the blockchain.
Frequently Asked Questions
Can a watchtower steal the funds in my Lightning channel?
No. The tower receives an encrypted penalty transaction that is already signed, and it can decrypt it only when the matching revoked transaction appears on-chain. It can then publish it but cannot redirect the funds, and it never holds the channel keys.
Do I need a watchtower if my Lightning node is always online?
A watchtower covers the time your node is offline. If a partner publishes a revoked state, you have a limited window to respond with a penalty transaction, which an online node can do itself. A tower guards against outages; it must itself stay online, and it only helps against revoked states.
Should I run my own watchtower or use a third-party one?
Both are possible. A watchtower can be a third-party service or your own second machine; LND, for example, includes a watchtower server and client. Running your own avoids relying on a third party, but it has to stay online independently of your node, for example at a different location.
Ready to Choose a Secure Wallet?
Use our tools to find the right hardware wallet for your needs.