Function hotshot_testing::test_task::add_network_message_test_task
source ยท pub async fn add_network_message_test_task<TYPES: NodeType, V: Versions, NET: ConnectedNetwork<TYPES::SignatureKey>>(
internal_event_stream: Sender<Arc<HotShotEvent<TYPES>>>,
external_event_stream: Sender<Event<TYPES>>,
upgrade_lock: UpgradeLock<TYPES, V>,
channel: Arc<NET>,
public_key: TYPES::SignatureKey,
) -> JoinHandle<()>
Expand description
Add the network task to handle messages and publish events.