Function pd::testnet::generate::testnet_generate
source ยท pub fn testnet_generate(
testnet_dir: PathBuf,
chain_id: &str,
active_validator_limit: Option<u64>,
tendermint_timeout_commit: Option<Timeout>,
epoch_duration: Option<u64>,
unbonding_delay: Option<u64>,
peer_address_template: Option<String>,
external_addresses: Vec<Address>,
validators_input_file: Option<PathBuf>,
allocations_input_file: Option<PathBuf>,
proposal_voting_blocks: Option<u64>,
gas_price_simple: Option<u64>
) -> Result<()>
Expand description
Create a new testnet definition, including genesis and at least one
validator config. Write all configs to the target testnet dir,
defaulting to ~/.penumbra/testnet_data
, as usual.