pub struct VoteProof {
pub signature: Signature,
pub key_image: KeyImage,
}Expand description
The full bundle returned by crate::sign_vote: the proof and the
linking tag.
The two fields travel together because the host needs the tag to do its “have I already seen this voter?” check before bothering the verifier with the proof.
Fields§
§signature: SignatureThe ring signature proper.
key_image: KeyImageThe unique-per-secret-key linking tag.
Trait Implementations§
impl Eq for VoteProof
impl StructuralPartialEq for VoteProof
Auto Trait Implementations§
impl Freeze for VoteProof
impl RefUnwindSafe for VoteProof
impl Send for VoteProof
impl Sync for VoteProof
impl Unpin for VoteProof
impl UnsafeUnpin for VoteProof
impl UnwindSafe for VoteProof
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