The cost tracker uses attester attestations to measure how far behind the cluster is in replay. When the median replay position drifts, we dynamically tighten the replay compute budget so the cluster can catch up. When replay is healthy, we restore the full budget.
SIMD-0322 defines the serial execution cost tracker (DTAA), introduces a max serial execution CU limit, and requires deterministic, post-execution accounting. We build on that framework to gate replay throughput based on real-time lag.
SIMD-0322 proposes a deterministic transaction assignment algorithm (DTAA) that computes the serial execution makespan by tracking virtual execution tracks. The proposal adds a max serial execution CU limit (25M CUs in the PR) to bound worst-case replay time, independent of total block CUs.
Each attester attestation includes the most recent bank hash that the attester has replayed up to. We treat this as a signed replay watermark that can be aggregated across the attester set.
A bank hash is considered valid when it matches the local view of the finalized fork at the given slot.
We compute the median of the valid replayed bank hash slots to estimate how far behind the cluster is. The median is robust to outliers and provides a stable signal even when some attesters are slow or faulty.
The control loop directly tunes the serial execution limit introduced by SIMD-0322 (or an equivalent replay budget) to keep replay within the slot time budget on reference hardware.