[−][src]Struct tendermint_light_client::predicates::ProdPredicates
Production predicates, using the default implementation
of the VerificationPredicates
trait.
Trait Implementations
impl Clone for ProdPredicates
[src]
fn clone(&self) -> ProdPredicates
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ProdPredicates
[src]
impl Debug for ProdPredicates
[src]
impl Default for ProdPredicates
[src]
fn default() -> ProdPredicates
[src]
impl VerificationPredicates for ProdPredicates
[src]
fn validator_sets_match(
&self,
light_block: &LightBlock,
hasher: &dyn Hasher
) -> Result<(), VerificationError>
[src]
&self,
light_block: &LightBlock,
hasher: &dyn Hasher
) -> Result<(), VerificationError>
fn next_validators_match(
&self,
light_block: &LightBlock,
hasher: &dyn Hasher
) -> Result<(), VerificationError>
[src]
&self,
light_block: &LightBlock,
hasher: &dyn Hasher
) -> Result<(), VerificationError>
fn header_matches_commit(
&self,
signed_header: &SignedHeader,
hasher: &dyn Hasher
) -> Result<(), VerificationError>
[src]
&self,
signed_header: &SignedHeader,
hasher: &dyn Hasher
) -> Result<(), VerificationError>
fn valid_commit(
&self,
signed_header: &SignedHeader,
validators: &ValidatorSet,
commit_validator: &dyn CommitValidator
) -> Result<(), VerificationError>
[src]
&self,
signed_header: &SignedHeader,
validators: &ValidatorSet,
commit_validator: &dyn CommitValidator
) -> Result<(), VerificationError>
fn is_within_trust_period(
&self,
trusted_header: &Header,
trusting_period: Duration,
now: Time
) -> Result<(), VerificationError>
[src]
&self,
trusted_header: &Header,
trusting_period: Duration,
now: Time
) -> Result<(), VerificationError>
fn is_header_from_past(
&self,
untrusted_header: &Header,
clock_drift: Duration,
now: Time
) -> Result<(), VerificationError>
[src]
&self,
untrusted_header: &Header,
clock_drift: Duration,
now: Time
) -> Result<(), VerificationError>
fn is_monotonic_bft_time(
&self,
untrusted_header: &Header,
trusted_header: &Header
) -> Result<(), VerificationError>
[src]
&self,
untrusted_header: &Header,
trusted_header: &Header
) -> Result<(), VerificationError>
fn is_monotonic_height(
&self,
untrusted_header: &Header,
trusted_header: &Header
) -> Result<(), VerificationError>
[src]
&self,
untrusted_header: &Header,
trusted_header: &Header
) -> Result<(), VerificationError>
fn has_sufficient_validators_overlap(
&self,
untrusted_sh: &SignedHeader,
trusted_validators: &ValidatorSet,
trust_threshold: &TrustThreshold,
calculator: &dyn VotingPowerCalculator
) -> Result<(), VerificationError>
[src]
&self,
untrusted_sh: &SignedHeader,
trusted_validators: &ValidatorSet,
trust_threshold: &TrustThreshold,
calculator: &dyn VotingPowerCalculator
) -> Result<(), VerificationError>
fn has_sufficient_signers_overlap(
&self,
untrusted_sh: &SignedHeader,
untrusted_validators: &ValidatorSet,
calculator: &dyn VotingPowerCalculator
) -> Result<(), VerificationError>
[src]
&self,
untrusted_sh: &SignedHeader,
untrusted_validators: &ValidatorSet,
calculator: &dyn VotingPowerCalculator
) -> Result<(), VerificationError>
fn valid_next_validator_set(
&self,
light_block: &LightBlock,
trusted_state: &LightBlock
) -> Result<(), VerificationError>
[src]
&self,
light_block: &LightBlock,
trusted_state: &LightBlock
) -> Result<(), VerificationError>
Auto Trait Implementations
impl RefUnwindSafe for ProdPredicates
impl Send for ProdPredicates
impl Sync for ProdPredicates
impl Unpin for ProdPredicates
impl UnwindSafe for ProdPredicates
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,