Skip to content

Commit

Permalink
Migrate trieSyncKey
Browse files Browse the repository at this point in the history
  • Loading branch information
JukLee0ira committed Jan 15, 2025
1 parent 63f1686 commit 68c8256
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/rawdb/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 68c8256

Please sign in to comment.