lnd/watchtower/wtdb/migration2
Elle Mouton d03047f313
watchtower: migrate channel summaries
In this commit a migration of the tower client db is done. The migration
creates a new top-level cChanDetailsBkt bucket and for each channel
found in the old cChanSummaryBkt bucket, it creates a new sub-bucket. In
the subbucket, the ClientChanSummary is then stored under the
cChannelSummary key. The reason for this migration is that it will be
useful in future when we want to store more easily accessible data under
a specific client ID.
2023-01-11 13:46:55 +02:00
..
client_db_test.go watchtower: migrate channel summaries 2023-01-11 13:46:55 +02:00
client_db.go watchtower: migrate channel summaries 2023-01-11 13:46:55 +02:00
codec.go watchtower: migrate channel summaries 2023-01-11 13:46:55 +02:00
log.go watchtower: migrate channel summaries 2023-01-11 13:46:55 +02:00