You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -43,8 +43,8 @@ For the rest of this document we will use server/tower and client/Lightning node
43
43
*[Encryption Algorithms and Parameters](#encryption-algorithms-and-parameters)
44
44
*[Payment Modes](#payment-modes)
45
45
*[Data serialisation and signing](#data-serialisation-and-signing)
46
-
*[Attacks on towers](#attacks-on-towers)
47
46
*[No compression of penalty transaction](#no-compression-of-penalty-transaction)
47
+
*[Attacks on towers](#attacks-on-towers)
48
48
49
49
## Watchtower discovery
50
50
@@ -140,6 +140,8 @@ Once the user is registered, the tower will be able to identify him by doing EC
140
140
141
141
If a user fills all his appointment slots, or need to keep the data in the tower for longer than the `subscription_period`, he may need to top up his subscription.
142
142
143
+
For now only `subscription_invoice` tlv has been defined as payment method. Other payment methods can be defined as tlv in the future.
144
+
143
145
## Sending appointments to the tower
144
146
145
147
Once the client is registered with the tower, he can start backing up state updates by sending appointments to the tower:
@@ -228,6 +230,8 @@ and at most as big as:
228
230
`minimum_viable_transaction_size` and `maximum_viable_transaction_size` refer to the minimum/maximum size required to create a valid transaction.
229
231
230
232
`encrypted_blob`s outside those boundaries cannot contain valid transactions, so they should be rejected.
233
+
234
+
A tower should broadcast a penalty transaction right after a breach is seen, but should be also able to bump the fee is necessary. A too small `to_self_delay` can make the tower fail to do so.
231
235
232
236
### The `appointment_accepted` message
233
237
@@ -468,13 +472,15 @@ The storage requirements for a Watchtower can be reduced (linearly) by implement
468
472
469
473
- Define a proper tower discovery.
470
474
- None of the message types have been defined (they have been left with ?).
471
-
- Define errors (transient vs permanently)
475
+
- Define errors (transient vs permanently).
476
+
- Add attacks on towers
472
477
473
478
## DISCUSS
474
479
475
-
- The tower may also need to reply with `appointment_slots` during the registration phase so a minimum amount of appointments are paid for. Check [attacks on towers](#attacks-on-towers). Therefore hiring the tower for a single appointment may be problematic.
480
+
- The tower may also need to reply with `appointment_slots` during the registration phase so a minimum amount of appointments are paid for. Check [Trustless WatchTowers?](https://lists.linuxfoundation.org/pipermail/lightning-dev/2018-April/001203.html). Therefore hiring the tower for a single appointment may be problematic.
476
481
- Signature on the deletion acceptance by the server may not be necessary.
477
482
- Appointment deletion can be performed in bulk, by allowing sending more than one appointment at a time. That could result in a privacy leak though, since the tower will be able to link what appointments belonged to the same channel.
483
+
- Separate register and top up so proofs can be used for top ups, in a similar way to [Dead Men's Button](https://github.com/joostjager/deadmensbutton)
0 commit comments