|
|
@ -179,7 +179,7 @@ func NewDatabaseWithFreezer(db ethdb.KeyValueStore, freezer string, namespace st |
|
|
|
// this point care, the key-value/freezer combo is valid).
|
|
|
|
// this point care, the key-value/freezer combo is valid).
|
|
|
|
// - If neither the key-value store nor the freezer is empty, cross validate
|
|
|
|
// - If neither the key-value store nor the freezer is empty, cross validate
|
|
|
|
// the genesis hashes to make sure they are compatible. If they are, also
|
|
|
|
// the genesis hashes to make sure they are compatible. If they are, also
|
|
|
|
// ensure that there's no gap between the freezer and sunsequently leveldb.
|
|
|
|
// ensure that there's no gap between the freezer and subsequently leveldb.
|
|
|
|
// - If the key-value store is not empty, but the freezer is we might just be
|
|
|
|
// - If the key-value store is not empty, but the freezer is we might just be
|
|
|
|
// upgrading to the freezer release, or we might have had a small chain and
|
|
|
|
// upgrading to the freezer release, or we might have had a small chain and
|
|
|
|
// not frozen anything yet. Ensure that no blocks are missing yet from the
|
|
|
|
// not frozen anything yet. Ensure that no blocks are missing yet from the
|
|
|
|