lnd/watchtower
Elle Mouton 204585c620
watchtower: demo StateUpdateCodeClientBehind error
In this commit, a test is added to demonstrate how clients can end up
getting the StateUpdateCodeClientBehind error from a tower server. This
can happen if a client ever deletes their db. If they do this then the
sessions they create with the tower will have the same IDs as the
sessions created in the now deleted db. This is because the session keys
(and thus session IDs) are calculated deterministically from a counter
(which is reset if the db is deleted). The tower server then throws this
error because the client would say that the sequence ID is 1 for the
next update.
2023-03-31 12:04:57 +02:00
..
blob multi: fix make fmt 2022-08-23 22:10:24 +08:00
lookout watchtower: uses P2TR for sweep, delivery, and reward addresses 2022-08-11 17:26:13 -07:00
wtclient watchtower: demo StateUpdateCodeClientBehind error 2023-03-31 12:04:57 +02:00
wtdb watchtower: add PostEvaluateFilterFn call-back option 2023-03-20 20:14:01 +02:00
wtmock watchtower: add PostEvaluateFilterFn call-back option 2023-03-20 20:14:01 +02:00
wtpolicy watchtower: uses P2TR for sweep, delivery, and reward addresses 2022-08-11 17:26:13 -07:00
wtserver watchtower: replace defer cleanup with t.Cleanup 2022-10-13 17:47:04 +08:00
wtwire brontide,lnwire,wtwire,zpay32: appease linter 2022-11-11 08:44:30 -06:00
conf.go watchtower: add externalip CLI configuration 2019-06-20 17:04:03 -07:00
config.go multi: Add --tor.encryptkey flag functionality to encrypt the Tor private key on disk 2022-09-30 01:53:46 -05:00
errors.go watchtower/conf: remove experimental conditional compilation 2019-06-13 19:54:19 -07:00
interface.go watchtower/conf: abstract address normalizer to prevent import cycle 2019-06-13 19:54:19 -07:00
log.go multi: migrate towers to use RangeIndex for AckedUpdates 2023-01-11 13:59:03 +02:00
standalone.go multi: Add --tor.encryptkey flag functionality to encrypt the Tor private key on disk 2022-09-30 01:53:46 -05:00
tlv_bench_test.go tlv+watchtower: move bench test 2022-02-21 13:48:31 +01:00