Trait reth_network::NetworkProtocols

source ·
pub trait NetworkProtocols: Send + Sync {
    // Required method
    fn add_rlpx_sub_protocol(&self, protocol: RlpxSubProtocol);
}
Expand description

Provides access to modify the network’s additional protocol handlers.

Required Methods§

source

fn add_rlpx_sub_protocol(&self, protocol: RlpxSubProtocol)

Adds an additional protocol handler to the RLPx sub-protocol list.

Implementors§