From 68c82564c8f7a5a743472a5953e61b231687c2af Mon Sep 17 00:00:00 2001 From: JukLee0ira Date: Wed, 15 Jan 2025 16:23:11 +0800 Subject: [PATCH] Migrate trieSyncKey --- core/rawdb/schema.go | 2 ++ 1 file changed, 2 insertions(+) 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