@@ -106,7 +106,7 @@ var (
106
106
blockReceiptsPrefix = []byte ("r" ) // blockReceiptsPrefix + num (uint64 big endian) + hash -> block receipts
107
107
108
108
txLookupPrefix = []byte ("l" ) // txLookupPrefix + hash -> transaction/receipt lookup metadata
109
- BloomBitsPrefix = []byte ("B" ) // BloomBitsPrefix + bit (uint16 big endian) + section (uint64 big endian) + hash -> bloom bits
109
+ bloomBitsPrefix = []byte ("B" ) // bloomBitsPrefix + bit (uint16 big endian) + section (uint64 big endian) + hash -> bloom bits
110
110
SnapshotAccountPrefix = []byte ("a" ) // SnapshotAccountPrefix + account hash -> account trie value
111
111
SnapshotStoragePrefix = []byte ("o" ) // SnapshotStoragePrefix + account hash + storage hash -> storage trie value
112
112
CodePrefix = []byte ("c" ) // CodePrefix + code hash -> account code
@@ -128,8 +128,8 @@ var (
128
128
configPrefix = []byte ("ethereum-config-" ) // config prefix for the db
129
129
genesisPrefix = []byte ("ethereum-genesis-" ) // genesis state prefix for the db
130
130
131
- // BloomBitsIndexPrefix is the data table of a chain indexer to track its progress
132
- BloomBitsIndexPrefix = []byte ("iB" )
131
+ // bloomBitsIndexPrefix is the data table of a chain indexer to track its progress
132
+ bloomBitsIndexPrefix = []byte ("iB" )
133
133
134
134
ChtPrefix = []byte ("chtRootV2-" ) // ChtPrefix + chtNum (uint64 big endian) -> trie root hash
135
135
ChtTablePrefix = []byte ("cht-" )
@@ -145,11 +145,11 @@ var (
145
145
FixedCommitteeRootKey = []byte ("fixedRoot-" ) // bigEndian64(syncPeriod) -> committee root hash
146
146
SyncCommitteeKey = []byte ("committee-" ) // bigEndian64(syncPeriod) -> serialized committee
147
147
148
- FilterMapsPrefix = "fm-"
149
- filterMapsRangeKey = []byte (FilterMapsPrefix + "R" )
150
- filterMapRowPrefix = []byte (FilterMapsPrefix + "r" ) // filterMapRowPrefix + mapRowIndex (uint64 big endian) -> filter row
151
- filterMapLastBlockPrefix = []byte (FilterMapsPrefix + "b" ) // filterMapLastBlockPrefix + mapIndex (uint32 big endian) -> block number (uint64 big endian)
152
- filterMapBlockLVPrefix = []byte (FilterMapsPrefix + "p" ) // filterMapBlockLVPrefix + num (uint64 big endian) -> log value pointer (uint64 big endian)
148
+ filterMapsPrefix = "fm-"
149
+ filterMapsRangeKey = []byte (filterMapsPrefix + "R" )
150
+ filterMapRowPrefix = []byte (filterMapsPrefix + "r" ) // filterMapRowPrefix + mapRowIndex (uint64 big endian) -> filter row
151
+ filterMapLastBlockPrefix = []byte (filterMapsPrefix + "b" ) // filterMapLastBlockPrefix + mapIndex (uint32 big endian) -> block number (uint64 big endian)
152
+ filterMapBlockLVPrefix = []byte (filterMapsPrefix + "p" ) // filterMapBlockLVPrefix + num (uint64 big endian) -> log value pointer (uint64 big endian)
153
153
154
154
preimageCounter = metrics .NewRegisteredCounter ("db/preimage/total" , nil )
155
155
preimageHitsCounter = metrics .NewRegisteredCounter ("db/preimage/hits" , nil )
0 commit comments