mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
204585c620
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. |
||
---|---|---|
.. | ||
blob | ||
lookout | ||
wtclient | ||
wtdb | ||
wtmock | ||
wtpolicy | ||
wtserver | ||
wtwire | ||
conf.go | ||
config.go | ||
errors.go | ||
interface.go | ||
log.go | ||
standalone.go | ||
tlv_bench_test.go |