Expand description
The format for storing history chain data snapshots.
Filename:
<config-name>-<era-number>-<short-hash>.e2hsType Definitions:
e2hs := Version | block-tuple* | other-entries* | BlockIndex
block-tuple := CompressedHeader | CompressedBody | CompressedReceipts
-----
Version = { type: 0x6532, data: nil }
CompressedHWP = { type: 0x0301, data: snappyFramed(ssz(header_with_proof)) }
CompressedBody = { type: 0x0400, data: snappyFramed(rlp(body)) }
CompressedReceipts = { type: 0x0500, data: snappyFramed(rlp(receipts)) }
BlockIndex = { type: 0x6632, data: block-index }E2HS files must each contain a contiguous sequence of 8192 blocks. Full file spec can be found here: https://github.com/eth-clients/e2store-format-specs/blob/main/formats/e2hs.md
Structs§
- Block
Tuple - E2HS
Block Index Entry - E2HS
Memory - E2HS
Writer - The
E2HSstreaming writer. - Header
With Proof Entry