Structsยง
- Marshal
Persist Estimator - Point-in-time marshal persistence cost per encoded block byte.
- Validation
Latency Estimate - Point-in-time validation latency estimate from recent proposal validation.
- Validation
Latency Estimator - Tracks recent local execution-layer block validation latency.
- Validation
Latency ๐Sample - Validation
Latency Workload - Gas and transaction count used to estimate validation latency.
Constantsยง
- MIN_
SAMPLE_ ๐BYTES - Ignore tiny blocks so fixed archive overhead does not become a large-block byte cost.
- RATE_
DECAY ๐ - How quickly the learned marshal persistence rate decays when blocks get cheaper.
- VALIDATION_
LATENCY_ ๐SAMPLE_ WINDOW - Number of recent successful EL validation timings to retain.
- VALIDATION_
LATENCY_ ๐WORKLOAD_ SCALE - Fixed-point scale for validation workload multipliers.
Staticsยง
Functionsยง
- insert_
count ๐ - marshal_
persist_ estimate - Returns the current estimate of consensus marshal persistence cost.
- observe_
marshal_ persist - Records time spent persisting an encoded block through consensus marshal.
- percentile_
from_ ๐counts - percentile_
rank ๐ - remove_
count ๐ - scale_
above_ ๐baseline - scale_
duration ๐