Trait sn_transfers::ReplicaValidator[][src]

pub trait ReplicaValidator {
    fn is_valid(&self, section: PublicKey) -> bool;
}

An implementation of the ReplicaValidator, should contain the logic from upper layers for determining if a remote group of Replicas, represented by a PublicKey, is indeed valid. This is logic from the membership part of the system, and thus handled by the upper layers membership implementation.

Required methods

fn is_valid(&self, section: PublicKey) -> bool[src]

Determines if a remote group of Replicas, represented by a PublicKey, is indeed valid.

Loading content...

Implementors

Loading content...