Block pool accumulates blocks received via gossip channel, verifies them and inserts into beacon chain. If received block is a part of unknown chain segment it needs to be downloaded via Req/Resp. Blocks should be purged/discarded if its chain can't be identified or slot falls behind recent finalized slot. Blocks coming from future slots should be held until that slot is emitted.
Description
Block pool accumulates blocks received via gossip channel, verifies them and inserts into beacon chain. If received block is a part of unknown chain segment it needs to be downloaded via Req/Resp. Blocks should be purged/discarded if its chain can't be identified or slot falls behind recent finalized slot. Blocks coming from future slots should be held until that slot is emitted.