Once we land the AccountTreeWithHistory<AccountTree<RocksDb>> implementation, we will have two distinct places for fetching persisted accounts data - the LargeSmt<_> and the SQLite database. Now whenever we get into a situation where we have a discrepancy between we need a path to resolve.
Proposal
- drop the
AccountTreeWithHistory and re-build from the SQL database recent history
- do something smarter™
Once we land the
AccountTreeWithHistory<AccountTree<RocksDb>>implementation, we will have two distinct places for fetching persisted accounts data - theLargeSmt<_>and theSQLitedatabase. Now whenever we get into a situation where we have a discrepancy between we need a path to resolve.Proposal
AccountTreeWithHistoryand re-build from the SQL database recent history