lnd.xprv/channeldb/migration21
Johan T. Halseth 466c079bbe
channeldb/migration21: add body and tests for migration 21
In this commit, we migrate all wire messages in the database from the
`legacy` to the `current` encoding.

This affects the way we write the `CommitDiff` and `LogUpdates` struct
to disk. We also need to migrate the network results bucket in the
switch as it includes a wire message without a length prefix.
2021-02-24 17:31:55 +01:00
..
common channeldb/migration21: copy over legacy types+codec for migration21 2021-02-24 17:15:21 +01:00
current channeldb/migration21: add new serialization to package 'current' 2021-02-24 17:31:49 +01:00
legacy channeldb/migration21: add new serialization to package 'current' 2021-02-24 17:31:49 +01:00
migration_test.go channeldb/migration21: add body and tests for migration 21 2021-02-24 17:31:55 +01:00
migration.go channeldb/migration21: add body and tests for migration 21 2021-02-24 17:31:55 +01:00