Raspiblitz: Watchtower service

Created on 23 Jun 2019  路  6Comments  路  Source: rootzoll/raspiblitz

Got the altruistic watchtower function working on my RaspiBlitz:
https://github.com/openoms/lightning-node-management/blob/master/watchtower.md
https://twitter.com/openoms/status/1142739780947664896

It is great to monitor for breaches if someone running more than one node.
Needs to store all previous channels states (couple of hundred bytes each) of the monitored clients so will keep checking the diskspace usage.

Could not make it work as a Tor hidden service yet: https://twitter.com/openoms/status/1142759272079667201

I would be a great menu addition for a future version to set up a watchtower or connect to one from the GUI.

enhancement hackathon

All 6 comments

Thanks ... the issue list for the v1.3 is already quite long, so will push this a bit up the line .. but its most def a feature to support better in the future.

Got the altruistic watchtower function working on my RaspiBlitz:
https://github.com/openoms/lightning-node-management/blob/master/watchtower.md

The process seems fairly simple. Apart from the space required (store all previous channelstates) to implement a watchtower with another peer is there any other drawback? How simple would it be to make it happen between you and I for example? What happens if we both go offline? Can i be the watchtower for a friend and viceversa? Would it need any hardware improvement?

Maybe this are some silly questions but i still dont get it 100%. Gonna listen later to the latest SLP whose gues is Bitconner, maybe some of my answers get replied there :/ .

The process seems fairly simple. Apart from the space required (store all previous channelstates) to implement a watchtower with another peer is there any other drawback?

For the watchtower there will be some hardware needs (hard to estimate as dependent on the monitored channel numbers and activity):

  • more diskspace and some more RAM usage
  • some added computational burden
  • more network traffic

I would presume that even the RPi3 can deal with monitoring a small, low traffic node, but as above it is all case dependent. More powerful hardware takes more to reach it`s limits.

How simple would it be to make it happen between you and I for example?

Very simple as described in the guide, you just need to know my IP address (or dynamic DNS)

What happens if we both go offline?

If the client node is online, the watchtower only receives it`s updated states (the client monitors the blockchain for breaches itself).
The watchtower needs to be online to fulfill it`s role (monitor the blockchain for a breach).

If the watchtower is offline while the the client is on, it might miss some channel state updates. I think it only monitors for possible breaches with states which have been communicated to it. If the watchtower is offline the client cannot send it`s state updates, so those will be missed and can be cheated with.

Can i be the watchtower for a friend and viceversa? Would it need any hardware improvement?

Yes, see both above.

Marked this idea for the Lightning HackSprint - details see: https://wiki.fulmo.org/index.php?title=Lightning_HackSprint

The tasks would be:

Note about automatic TOR address for watchtower service in upcoming LND:
https://github.com/lightningnetwork/lnd/blob/master/docs/watchtower.md#tor-hidden-services

v1.6 will come with a SSH UI to manage "subscriptions" - it will start with payed subscriptions for IP2TOR bridges but that can also be the place to add those voluntary watchtower "subscriptions".

Was this page helpful?
0 / 5 - 0 ratings