Function massa_protocol_worker::create_protocol_controller
source ยท pub fn create_protocol_controller(
config: ProtocolConfig,
) -> (Box<dyn ProtocolController>, ProtocolChannels)Expand description
This function exists because consensus need the protocol controller and we need consensus controller. Someone has to be created first.