Move gossipsub into a separate crate (#5401)

* move gossipsub into a separate crate

* Merge branch 'unstable' of github.com:sigp/lighthouse into separate-gossipsub

* address review 2

* clippy beta

* update logging to log gossipsub logs
This commit is contained in:
João Oliveira
2024-03-26 03:10:59 +00:00
committed by GitHub
parent 8cec8a6793
commit 59ef564b1d
45 changed files with 662 additions and 375 deletions

View File

@@ -17,10 +17,7 @@ mod tests {
use types::{Epoch, EthSpec, ForkName, MinimalEthSpec, SubnetId};
impl<T: BeaconChainTypes> NetworkService<T> {
fn get_topic_params(
&self,
topic: GossipTopic,
) -> Option<&lighthouse_network::gossipsub::TopicScoreParams> {
fn get_topic_params(&self, topic: GossipTopic) -> Option<&gossipsub::TopicScoreParams> {
self.libp2p.get_topic_params(topic)
}
}