You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 28, 2021. It is now read-only.
It then opens the extras DB from the old path and populates m_lastBlockHash / m_lastBlockNumber to the genesis block since the old path is empty.
Therefore the last block hash used by BlockChain::rebuild() to identify the range of blocks which need to be reimported will be the genesis block, and the extras (and state) databases won't actually be rebuilt.
Even if we address #5813 and persist the minor version to disk,
BlockChain::open()renames the extras database path on minor version mismatch:aleth/libethereum/BlockChain.cpp
Lines 213 to 222 in cd25d2f
It then opens the extras DB from the old path and populates m_lastBlockHash / m_lastBlockNumber to the genesis block since the old path is empty.
Therefore the last block hash used by
BlockChain::rebuild()to identify the range of blocks which need to be reimported will be the genesis block, and the extras (and state) databases won't actually be rebuilt.