feat(net): expose message module (#390)

* feat(net): expose message module

* feat(net): expose `PeerRequest`, allow missing docs
This commit is contained in:
mempirate
2022-12-12 17:34:54 +01:00
committed by GitHub
parent ef487a35b0
commit 452a81e0d3
2 changed files with 2 additions and 1 deletions

View File

@ -69,5 +69,6 @@ pub mod transactions;
pub use config::NetworkConfig;
pub use fetch::FetchClient;
pub use manager::{NetworkEvent, NetworkManager};
pub use message::PeerRequest;
pub use network::NetworkHandle;
pub use peers::{BanList, PeersConfig};

View File

@ -68,7 +68,7 @@ pub enum BlockRequest {
/// Protocol related request messages that expect a response
#[derive(Debug)]
#[allow(clippy::enum_variant_names)]
#[allow(clippy::enum_variant_names, missing_docs)]
pub enum PeerRequest {
/// Request Block headers from the peer.
///