cuprate_test_utils::monerod

Function monerod

Source
pub async fn monerod<T: AsRef<OsStr>>(
    flags: impl IntoIterator<Item = T>,
) -> SpawnedMoneroD
Expand description

Spawns monerod and returns SpawnedMoneroD.

This function will set regtest and the P2P/ RPC ports so these can’t be included in the flags.