lnd/watchtower/wtdb/migration1
Elle Mouton 354a3b16bd
watchtower/wtdb: add new towerID-to-sessionID index
This commit adds a new towerID-to-sessionID index to the wtclient DB.
The commit also contains the necessary migration required in order to
build the index for an existing client.
This index will greatly improve the lookup of sessions for a given tower
ID.
2022-10-13 11:30:27 +02:00
..
client_db.go watchtower/wtdb: add new towerID-to-sessionID index 2022-10-13 11:30:27 +02:00
client_db_test.go watchtower/wtdb: add new towerID-to-sessionID index 2022-10-13 11:30:27 +02:00
codec.go watchtower/wtdb: add new towerID-to-sessionID index 2022-10-13 11:30:27 +02:00
log.go watchtower/wtdb: add new towerID-to-sessionID index 2022-10-13 11:30:27 +02:00