Function diem_types::validator_verifier::random_validator_verifier
source · pub fn random_validator_verifier(
count: usize,
custom_voting_power_quorum: Option<u64>,
pseudo_random_account_address: bool
) -> (Vec<ValidatorSigner>, ValidatorVerifier)
Expand description
Helper function to get random validator signers and a corresponding validator verifier for testing. If custom_voting_power_quorum is not None, set a custom voting power quorum amount. With pseudo_random_account_address enabled, logs show 0 -> [0000], 1 -> [1000]