create_protocol_state

Function create_protocol_state 

Source
pub fn create_protocol_state(
    version: &str,
    connections: u32,
    capacity: Option<u64>,
    operational: bool,
) -> ProtocolState
Expand description

Helper function to create a default ProtocolState with all required fields