pub struct EquivocationProof {
pub key: KeyId,
pub thread: String,
pub dialect_hash: String,
pub first: ProofMember,
pub second: ProofMember,
}Expand description
The transferable proof object (REQ-706, CON-702):
(equivocation key thread dialect-hash member member).
The proof pins the governing dialect by content hash (SPEC-014 REQ-628) so it can never be verified against a same-named substitute dialect (SPEC-015 review finding 2).
Fields§
§key: KeyIdThe accused key (canonical identity, REQ-708).
thread: StringThe thread both members must carry.
dialect_hash: StringContent hash of the governing dialect (f1220<hex64>).
first: ProofMemberThe offending pair.
second: ProofMemberTrait Implementations§
Source§impl Clone for EquivocationProof
impl Clone for EquivocationProof
Source§impl Debug for EquivocationProof
impl Debug for EquivocationProof
impl Eq for EquivocationProof
Source§impl PartialEq for EquivocationProof
impl PartialEq for EquivocationProof
impl StructuralPartialEq for EquivocationProof
Auto Trait Implementations§
impl Forget for EquivocationProof
impl Freeze for EquivocationProofwhere
*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,
*const LeafNode<KeyId, SetValZST> is !null: Freeze,
PhantomData<Box<(KeyId, SetValZST)>>: Freeze,
PhantomData<Opening>: Freeze,
impl Move for EquivocationProof
impl RefUnwindSafe for EquivocationProof
impl Send for EquivocationProof
impl Sync for EquivocationProof
impl Unpin for EquivocationProof
impl UnsafeUnpin for EquivocationProofwhere
*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,
*const LeafNode<KeyId, SetValZST> is !null: UnsafeUnpin,
PhantomData<Box<(KeyId, SetValZST)>>: UnsafeUnpin,
PhantomData<Opening>: UnsafeUnpin,
impl UnwindSafe for EquivocationProofwhere
RawVecInner: UnwindSafe,
BTreeMap<String, SetValZST>: UnwindSafe,
BoxRaw<Message>: UnwindSafe,
BTreeMap<KeyId, SetValZST>: 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