We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dca601 commit fe38b30Copy full SHA for fe38b30
core/rawdb/schema.go
@@ -176,6 +176,10 @@ func headerTDKey(number uint64, hash common.Hash) []byte {
176
return append(headerKey(number, hash), headerTDSuffix...)
177
}
178
179
+func HeaderTDKey(number uint64, hash common.Hash) []byte {
180
+ return headerTDKey(number, hash)
181
+}
182
+
183
// headerHashKey = headerPrefix + num (uint64 big endian) + headerHashSuffix
184
func headerHashKey(number uint64) []byte {
185
return append(append(headerPrefix, encodeBlockNumber(number)...), headerHashSuffix...)
0 commit comments