lnd/watchtower/wtdb/migration6
Elle Mouton b16df45076
watchtower: add sessionID index
In this commit, a new session-ID index is added to the tower client db
with the help of a migration. This index holds a mapping from a
db-assigned-ID (a uint64 encoded using BigSize encoding) to real session
ID (33 bytes). This mapping will help us save space in future when
persisting references to sessions.
2023-03-20 10:46:52 +02:00
..
client_db_test.go watchtower: add sessionID index 2023-03-20 10:46:52 +02:00
client_db.go watchtower: add sessionID index 2023-03-20 10:46:52 +02:00
codec.go watchtower: add sessionID index 2023-03-20 10:46:52 +02:00
log.go watchtower: add sessionID index 2023-03-20 10:46:52 +02:00