mirror of
https://github.com/monero-project/monero.git
synced 2026-01-22 04:22:55 +01:00
Migration
Migrate from DB version 0 to version 1 on startup
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -339,6 +339,12 @@ private:
|
||||
// fix up anything that may be wrong due to past bugs
|
||||
virtual void fixup();
|
||||
|
||||
// migrate from older DB version to current
|
||||
void migrate(const uint32_t oldversion);
|
||||
|
||||
// migrate from DB version 0 to 1
|
||||
void migrate_0_1();
|
||||
|
||||
MDB_env* m_env;
|
||||
|
||||
MDB_dbi m_blocks;
|
||||
|
||||
Reference in New Issue
Block a user