discv5::ForkId¶
Ethereum EIP-2124 fork identifier used for chain-correctness filtering. More...
#include <discovered_peer.hpp>
Public Attributes¶
| Name | |
|---|---|
| std::array< uint8_t, 4 > | hash 4-byte CRC-32 fork hash |
| uint64_t | next next fork block number (0 = none) |
Detailed Description¶
Ethereum EIP-2124 fork identifier used for chain-correctness filtering.
Mirrors the go-ethereum forkid.ID type:
hash— CRC-32 of the canonical chain's genesis hash XOR'd with all activated fork block numbers up to the current block.next— the next scheduled fork block (0 if none is known).
Public Attributes Documentation¶
variable hash¶
4-byte CRC-32 fork hash
variable next¶
next fork block number (0 = none)
Updated on 2026-04-13 at 23:22:46 -0700