beacon-chain-java
beacon-chain-java copied to clipboard
Bootstrap fork choice from storage's attestations
Currently, when node starts, fork choice is based on an empty LatestMessages set, since LMs/attestations are not stored on disk explicitly. However, on-chain attestations (inside blocks) are kept in the storage. Implement bootstrapping initial LM set for LMD GHOST fork choice, from blocks kept in the storage (descendants of the finalized checkpoint).