Function holochain::test_utils::network_simulation::generate_test_data
source · [−]pub async fn generate_test_data(
num_agents: usize,
min_num_ops_held: usize,
in_memory: bool,
force_new_data: bool
) -> (MockNetworkData, Connection)
Expand description
Generate test data for a simulated network using holochain. The data can be cached to the tmp directory which can save time on running tests or it can be all held in memory.