X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Ftxdb-leveldb.h;h=85e412f5359771b279cb8b6adb0fd7269beced42;hp=ab3f9ee6a08f348541849aaaeeb19b828976bd55;hb=050edc2860c508b16f700bf069827310d5feb48c;hpb=661204717b46b166c6cf2113d1ce054b702c7f6a diff --git a/src/txdb-leveldb.h b/src/txdb-leveldb.h index ab3f9ee..85e412f 100644 --- a/src/txdb-leveldb.h +++ b/src/txdb-leveldb.h @@ -204,18 +204,5 @@ private: bool LoadBlockIndexGuts(); }; -// Called from the initialization code. Checks to see if there is an old -// blkindex.dat file. If so, deletes it and begins re-importing the block -// chain, which will create the new database. -enum LevelDBMigrationResult { - NONE_NEEDED, - INSUFFICIENT_DISK_SPACE, - COMPLETED, - OTHER_ERROR, -}; - -typedef boost::signals2::signal LevelDBMigrationProgress; - -LevelDBMigrationResult MaybeMigrateToLevelDB(LevelDBMigrationProgress &progress); #endif // BITCOIN_DB_H