pub struct ProofsSection {
pub signature_count: u32,
pub signatures_valid: bool,
pub merkle_root_valid: bool,
pub inclusion_proofs_count: u32,
pub zk_proofs_present: bool,
pub event_log_skipped: u32,
pub reconcile_untracked_truncated: u32,
pub reconcile_untracked_cap: u32,
}Expand description
Proofs section of the receipt.
Fields§
§signature_count: u32§signatures_valid: bool§merkle_root_valid: bool§inclusion_proofs_count: u32§zk_proofs_present: bool§event_log_skipped: u32Count of events.jsonl lines that were skipped during read_all
because they failed to deserialize. Set by session::close from
EventLog::read_all_with_stats. Codex adversarial review finding #8:
without this in-band signal, a receipt sealed after malformed
events were silently dropped looks complete to a verifier even
when it isn’t. treeship package verify surfaces this as a WARN
when nonzero. Defaults to 0; absent on pre-v0.9.6 receipts so
they still verify byte-identical.
reconcile_untracked_truncated: u32§reconcile_untracked_cap: u32Trait Implementations§
Source§impl Clone for ProofsSection
impl Clone for ProofsSection
Source§fn clone(&self) -> ProofsSection
fn clone(&self) -> ProofsSection
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 moreSource§impl Debug for ProofsSection
impl Debug for ProofsSection
Source§impl Default for ProofsSection
impl Default for ProofsSection
Source§fn default() -> ProofsSection
fn default() -> ProofsSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProofsSection
impl<'de> Deserialize<'de> for ProofsSection
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
Auto Trait Implementations§
impl Freeze for ProofsSection
impl RefUnwindSafe for ProofsSection
impl Send for ProofsSection
impl Sync for ProofsSection
impl Unpin for ProofsSection
impl UnsafeUnpin for ProofsSection
impl UnwindSafe for ProofsSection
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