Move gossip structs into behaviour

This commit is contained in:
Paul Hauner
2019-03-25 18:59:50 +11:00
parent 32a025bdf7
commit 098e63ac32
5 changed files with 25 additions and 20 deletions

View File

@@ -11,7 +11,7 @@ use libp2p::core::swarm::{
ConnectedPoint, NetworkBehaviour, NetworkBehaviourAction, PollParameters,
};
use libp2p::{Multiaddr, PeerId};
pub use methods::{HelloMessage, IncomingGossip, RPCMethod, RPCRequest, RPCResponse};
pub use methods::{HelloMessage, RPCMethod, RPCRequest, RPCResponse};
pub use protocol::{RPCEvent, RPCProtocol, RequestId};
use slog::o;
use std::marker::PhantomData;