[erigon2.2] Temporary tables for state reconstitution (#512)

* Add temporary table for Plain state reconstitution

* Add 2 more temp tables

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
This commit is contained in:
ledgerwatch 2022-07-04 08:11:49 +01:00 committed by GitHub
parent 86ae204792
commit e77f25bce6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -369,6 +369,10 @@ const (
RStorageIdx = "RStorageIdx" RStorageIdx = "RStorageIdx"
RCodeKeys = "RCodeKeys" RCodeKeys = "RCodeKeys"
RCodeIdx = "RCodeIdx" RCodeIdx = "RCodeIdx"
PlainStateR = "PlainStateR" // temporary table for PlainState reconstitution
CodeR = "CodeR" // temporary table for Code reconstitution
PlainContractR = "PlainContractR" // temporary table for PlainContract reconstitution
) )
// Keys // Keys
@ -495,6 +499,10 @@ var ChaindataTables = []string{
RStorageIdx, RStorageIdx,
RCodeKeys, RCodeKeys,
RCodeIdx, RCodeIdx,
PlainStateR,
CodeR,
PlainContractR,
} }
const ( const (