Skip to main content

CertifiedCheckpointSummary

Type Alias CertifiedCheckpointSummary 

Source
pub type CertifiedCheckpointSummary = CheckpointSummaryEnvelope<AuthorityStrongQuorumSignInfo>;

Aliased Type§

pub struct CertifiedCheckpointSummary { /* private fields */ }

Implementations§

Source§

impl CertifiedCheckpointSummary

Source

pub fn verify_authority_signatures(&self, committee: &Committee) -> IotaResult

Source

pub fn batch_verify_authority_signatures( summaries: &[Self], committee: &Committee, ) -> IotaResult

Verifies the authority signatures of summaries, all certified by committee, in a single batched signature verification. Cheaper than verifying each summary on its own, at the cost of not saying which summary failed; callers that need that can fall back to Self::verify_authority_signatures per summary.

Source

pub fn try_into_verified( self, committee: &Committee, ) -> IotaResult<VerifiedCheckpoint>

Source

pub fn verify_with_contents( &self, committee: &Committee, contents: Option<&CheckpointContents>, ) -> IotaResult

Source

pub fn into_summary_and_sequence( self, ) -> (CheckpointSequenceNumber, CheckpointSummary)

Source

pub fn get_validator_signature(self) -> AggregateAuthoritySignature

Trait Implementations§

Source§

impl TryFrom<SignedCheckpointSummary> for CertifiedCheckpointSummary

Source§

type Error = SdkTypeConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(value: SignedCheckpointSummary) -> Result<Self, Self::Error>

Performs the conversion.