Skip to main content

quorum

Function quorum 

Source
pub fn quorum(
    owners: &[ConfigurableAccountOwner],
    threshold: u8,
    largest: bool,
) -> Vec<Address>
Expand description

Returns the largest owner quorum among owners, or the smallest one unless largest is set, that the node accepts: at most [MAX_CONFIGURABLE_ACCOUNT_SIGNATURES] owners that, in address order, reach threshold only on the last one. owners are sorted by address. Returns an empty list when no quorum exists.