channeldb: update route.Hop serialization to include new EOB related fields
We also include a migration for the existing routes stored on disk.
This commit is contained in:
6 files changed
+677
-6
No files matched your search
@@ -103,6 +103,13 @@ var (
|
||||
number: 9,
|
||||
migration: migrateOutgoingPayments,
|
||||
},
|
||||
{
|
||||
// The DB version where we started to store legacy
|
||||
// payload information for all routes, as well as the
|
||||
// optional TLV records.
|
||||
number: 10,
|
||||
migration: migrateRouteSerialization,
|
||||
},
|
||||
}
|
||||
|
||||
// Big endian is the preferred byte order, due to cursor scans over
|
||||
|
||||
Reference in new issue
Block a user