Skip to content

headerTDKey

Source (upstream pre-purge) Current
File core/rawdb/schema.go accessors_pow.go
Symbol headerTDKey headerTDKey
Ref f4d53133f~1 etc/v1.17.3-full-node

3-way merge — purge → getc ← upstream

pre-purge
// headerTDKey = headerPrefix + num (uint64 big endian) + hash + headerTDSuffix
func headerTDKey(number uint64, hash common.Hash) []byte {
return append(headerKey(number, hash), headerTDSuffix...)
}
core-geth validation — **Identical** ✅ | | | |---|---| | File | [`schema.go`](https://github.com/etclabscore/core-geth/blob/v1.12.20/core/rawdb/schema.go) | | Symbol | `headerTDKey` | | Ref | `v1.12.20` |

← Total Difficulty (TD)