pub struct EquivocationEvidence {
pub key: KeyId,
pub thread: ThreadId,
pub kind: EquivocationKind,
pub first: (ContentHash, Message),
pub second: (ContentHash, Message),
}Expand description
Evidence returned by equivocation: the convicted key, the thread,
the clause satisfied, and the offending pair as stored (hash-sorted, so
evidence is deterministic for a given store state).
Evidence is not yet a transferable proof — the store holds messages,
not their detached signatures. Package the pair’s signed forms into an
EquivocationProof to convince a third party (REQ-706).
Fields§
§key: KeyId§thread: ThreadId§kind: EquivocationKind§first: (ContentHash, Message)§second: (ContentHash, Message)Trait Implementations§
Source§impl Clone for EquivocationEvidence
impl Clone for EquivocationEvidence
Source§impl Debug for EquivocationEvidence
impl Debug for EquivocationEvidence
impl Eq for EquivocationEvidence
Source§impl PartialEq for EquivocationEvidence
impl PartialEq for EquivocationEvidence
impl StructuralPartialEq for EquivocationEvidence
Auto Trait Implementations§
impl Forget for EquivocationEvidence
impl Freeze for EquivocationEvidencewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, SetValZST)>>: Freeze,
PhantomData<SExpr>: Freeze,
PhantomData<String>: Freeze,
*const Message is !null: Freeze,
PhantomData<Message>: Freeze,
impl Move for EquivocationEvidence
impl RefUnwindSafe for EquivocationEvidence
impl Send for EquivocationEvidence
impl Sync for EquivocationEvidence
impl Unpin for EquivocationEvidence
impl UnsafeUnpin for EquivocationEvidencewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, SetValZST)>>: UnsafeUnpin,
PhantomData<SExpr>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const Message is !null: UnsafeUnpin,
PhantomData<Message>: UnsafeUnpin,
impl UnwindSafe for EquivocationEvidencewhere
RawVecInner: UnwindSafe,
BTreeMap<String, SetValZST>: UnwindSafe,
BoxRaw<Message>: UnwindSafe,
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