Structs§
- Base
Price - Block
Header - A block header.
- Block
Header Builder - Block
Header RlpPart - Custom
Data - Block-header
customfields as one raw-RLP blob instead of aVec<Bytes>, so a peer header packed with tiny RLP items can’t amplify into a per-item allocation (remote OOM).rawis re-emitted verbatim viaappend_raw(&raw, count), byte-identical to the old encoding — block hashes unchanged, no hardfork.
Constants§
Statics§
- CIP112_
TRANSITION_ HEIGHT - The height to start fixing the wrong encoding/decoding of the
customfield.
Functions§
- compute_
next_ price - compute_
next_ price_ tuple - A helper function for
compute_next_pricewhich takes a typle as input - estimate_
gas_ used_ boundary - estimate_
max_ possible_ gas