Function tea_sdk::utils::wasm_actor::actors::replica::get_candidate_validators_locally
pub async fn get_candidate_validators_locally(
tsid: Tsid,
count: usize
) -> Result<Option<Vec<(Vec<u8>, String)>>, Error>
Expand description
get candidate validators by given tsid, this is a simple VRF that is different from random select
functions (such as random_select_validators_locally
) because all seat nodes can get the same value