pub struct ProverCounters {
pub mirrors_seen: u64,
pub challenges_issued: u64,
pub challenges_passed: u64,
pub challenges_failed: u64,
pub entries_added: u64,
pub entries_removed: u64,
pub entry_count: u64,
pub reserve_base_units: u64,
pub total_paid_out_base_units: u64,
}Expand description
The reward prover loop’s running counters — SPEC §2.3.
Fields§
§mirrors_seen: u64Distinct mirrors observed across all cycles.
challenges_issued: u64Ranged capsule challenges issued.
challenges_passed: u64Challenges that passed verification.
challenges_failed: u64Challenges that failed verification.
entries_added: u64Entry-set entries added.
entries_removed: u64Entry-set entries removed.
entry_count: u64The current entry-set size.
reserve_base_units: u64The distributor’s reserve, in base units.
total_paid_out_base_units: u64Total paid out over the loop’s lifetime, in base units.
Trait Implementations§
Source§impl Clone for ProverCounters
impl Clone for ProverCounters
Source§fn clone(&self) -> ProverCounters
fn clone(&self) -> ProverCounters
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProverCounters
Source§impl Debug for ProverCounters
impl Debug for ProverCounters
Source§impl Default for ProverCounters
impl Default for ProverCounters
Source§fn default() -> ProverCounters
fn default() -> ProverCounters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProverCounters
impl<'de> Deserialize<'de> for ProverCounters
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProverCounters
Source§impl PartialEq for ProverCounters
impl PartialEq for ProverCounters
Source§impl Serialize for ProverCounters
impl Serialize for ProverCounters
impl StructuralPartialEq for ProverCounters
Auto Trait Implementations§
impl Freeze for ProverCounters
impl RefUnwindSafe for ProverCounters
impl Send for ProverCounters
impl Sync for ProverCounters
impl Unpin for ProverCounters
impl UnsafeUnpin for ProverCounters
impl UnwindSafe for ProverCounters
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more