mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-29 10:43:42 +00:00
Gloas bid and preference verification (#9036)
Gossip verify and cache bids and proposer preferences. This PR also ensures we subscribe to new fork topics one epoch early instead of two slots early. This is required for proposer preferences. Co-Authored-By: Eitan Seri- Levi <eserilev@gmail.com>
This commit is contained in:
@@ -1064,6 +1064,8 @@ where
|
||||
),
|
||||
kzg: self.kzg.clone(),
|
||||
rng: Arc::new(Mutex::new(rng)),
|
||||
gossip_verified_payload_bid_cache: <_>::default(),
|
||||
gossip_verified_proposer_preferences_cache: <_>::default(),
|
||||
};
|
||||
|
||||
let head = beacon_chain.head_snapshot();
|
||||
|
||||
Reference in New Issue
Block a user