build_system_handle

Function build_system_handle 

Source
pub async fn build_system_handle<TYPES: NodeType<InstanceState = TestInstanceState>, I: NodeImplementation<TYPES, Storage = TestStorage<TYPES>> + TestableNodeImplementation<TYPES>, V: Versions>(
    node_id: u64,
) -> (SystemContextHandle<TYPES, I, V>, Sender<Arc<HotShotEvent<TYPES>>>, Receiver<Arc<HotShotEvent<TYPES>>>, Arc<TestNodeKeyMap>)
where <TYPES as NodeType>::Membership: Membership<TYPES, Storage = TestStorage<TYPES>>,
Expand description

create the SystemContextHandle from a node id, with no epochs

ยงPanics

if cannot create a HotShotInitializer