Skip to content

Commit ecd9e86

Browse files
committed
feat(fork-choice): implement ForkChoice orchestrator struct (task 12)
Add ForkChoice wrapping ProtoArray, Votes, and checkpoint state with full public API: onBlock, onAttestation, getHead, setProposerBoost, onAttesterSlashing, prune, validateLatestHash, and Gloas ePBS methods (onExecutionPayload, notifyPtcMessages). Pre-allocated DeltasCache eliminates per-slot allocation in the getHead hot path.
1 parent 9dba9c8 commit ecd9e86

File tree

3 files changed

+789
-1
lines changed

3 files changed

+789
-1
lines changed

0 commit comments

Comments
 (0)