Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (29 sloc) 2.48 KB
latest-revision original-author created status title contributors type description discussions-to category
2019-01-27T00:00:00.000Z
Ryan Shea (ryan-shea)
2019-01-01T00:00:00.000Z
Accepted
Watchtower
Ryan Shea (ryan-shea)
article
GitHub URL
lightning-rnd

Watchtowers

Overview

Watchtowers are a service that provide protection in case something goes wrong with payment channels while disconnected from the internet for an extended period of time. Watchtowers, conceptually, will automatically handle the recovery process for users in the case of a channel breach.

Details

Problem

Payment channels introduce a new and undesirable assumption that a party must remain on-line and synchronized with the blockchain at all times to defend against execution fork attacks. An execution fork can revert a payment channel’s history, potentially causing financial damage to a party that is innocent except for having crashed. To provide security even to parties that may go off-line for an extended period of time, watchtowers are under development, protocols that are enables such parties to delegate to a third party, called the custodian, to cancel execution forks on their behalf.

Functionality

Watchtowers implement unlinkable channel monitoring and recovery for Lightning network channels. A watchtower is a program that watches the blockchain to see when a particular transaction is broadcast to the mempool.

If that transaction is flagged in its memory as part of an outdated contract, it broadcasts the latest version of the contract it knows about. They have no control of funds. They don't need ID about their users or where the funds are destined for. They are simple tools for identifying old contracts that somehow get broadcasted, and replacing them with the latest versions.

Resources

Watchtower Support is coming to Bitcoin Lightning Wallet

Olympus Watchtower Service (used in Lightning-Wallet for Android)

See also

Pisa: Arbitration Outsourcing for State Channels

References

[1] https://lists.linuxfoundation.org/pipermail/lightning-dev/2018-April/001196.html

[2] https://github.com/mit-dci/lit/tree/master/watchtower

You can’t perform that action at this time.