Further progress towards porting eth2-libp2p adds caching to discovery

This commit is contained in:
Age Manning
2020-05-01 22:53:33 +10:00
parent 9e6ae448a6
commit f3e707c3db
6 changed files with 217 additions and 44 deletions

View File

@@ -17,6 +17,7 @@ pub mod types;
pub use crate::types::{error, Enr, GossipTopic, NetworkGlobals, PubsubMessage};
pub use behaviour::BehaviourEvent;
pub use config::Config as NetworkConfig;
pub use discovery::enr_ext::{CombinedKeyExt, ENRExt};
pub use libp2p::gossipsub::{MessageId, Topic, TopicHash};
pub use libp2p::{multiaddr, Multiaddr};
pub use libp2p::{PeerId, Swarm};