diff --git a/core/rawdb/schema.go b/core/rawdb/schema.go index e61d05339070..be34d14b4d11 100644 --- a/core/rawdb/schema.go +++ b/core/rawdb/schema.go @@ -35,6 +35,8 @@ var ( // headFastBlockKey tracks the latest known incomplete block's hash during fast sync. headFastBlockKey = []byte("LastFast") + trieSyncKey = []byte("TrieSync") + // Data item prefixes (use single byte to avoid mixing data types, avoid `i`, used for indexes). headerPrefix = []byte("h") // headerPrefix + num (uint64 big endian) + hash -> header headerTDSuffix = []byte("t") // headerPrefix + num (uint64 big endian) + hash + headerTDSuffix -> td