MCPcopy Create free account
hub / github.com/SeismicSystems/summit / fmt

Method fmt

types/src/checkpoint.rs:153–175  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

151 "Pending checkpoint not allowed",
152 ));
153 }
154
155 Ok(state)
156 }
157}
158
159#[derive(Debug)]
160pub enum CheckpointVerificationError {
161 NoHeaders,
162 NonContiguousEpochs {
163 expected: u64,
164 found: u64,
165 },
166 SignatureVerificationFailed {
167 epoch: u64,
168 },
169 CheckpointHashMismatch,
170 PrevEpochHeaderHashMismatch {
171 epoch: u64,
172 },
173 InvalidGenesisHash(String),
174 WeakSubjectivityEpochUnavailable {
175 epoch: u64,
176 highest: u64,
177 },
178 WeakSubjectivityHeaderDigestMismatch {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected