lnd/watchtower
Conner Fromknecht 28bf49807e
watchtower/wtdb: add CSessionStatus field to ClientSession
This commit adds persisted status bit-field to ClientSessions, that can
be used to modify behavior of their handling in the client. Currently,
only a default CSessionActive status is defined. However, the intention
is that this could later be used to signal that a session is abandoned
without needing to perform a db migration to add the field. As we move
forward with testing, this will likely be useful if a session gets
borked and we need a simple method of the client to temporarily ignore
certain sessions.

The field may be useful in signaling other types of status changes,
though this was the primary motivation that warranted the addition.
2019-05-24 18:24:41 -07:00
..
blob multi: move Input interface and related code 2019-01-31 13:25:33 +01:00
lookout watchtower/wtmock/tower_db: move mock tower db to wtmock pkg 2019-04-26 17:19:58 -07:00
wtclient watchtower/wtclient: dedup backups across restarts 2019-05-24 18:24:41 -07:00
wtdb watchtower/wtdb: add CSessionStatus field to ClientSession 2019-05-24 18:24:41 -07:00
wtmock watchtower/wtclient: integrate ClientChannelSummaries 2019-05-23 20:48:50 -07:00
wtpolicy multi: fix spelling mistakes 2019-05-04 15:35:37 -07:00
wtserver watchtower/wtserver/create_session: log missing error in create session 2019-04-26 17:22:02 -07:00
wtwire multi: fix spelling mistakes 2019-05-04 15:35:37 -07:00
conf_experimental.go watchtower/conf_experimental: adds CLI options in experimental builds 2019-01-14 19:42:34 -08:00
conf.go watchtower/conf: adds non-experimental empty Conf 2019-01-14 19:42:34 -08:00
config.go watchtower/multi: thread ChainHash to server 2019-02-08 20:02:17 -08:00
errors.go watchtower/errors: adds pkg level errors 2019-01-14 19:42:34 -08:00
interface.go watchtower/interface: adds composite DB iface 2019-01-14 19:42:33 -08:00
log.go watchtower/log: add WTWR subsystem logger 2019-01-14 19:42:33 -08:00
standalone.go watchtower/multi: thread ChainHash to server 2019-02-08 20:02:17 -08:00