pub struct VtxoStatusChallenge;Expand description
Challenge for proving ownership of a VTXO when querying its status.
This is the simplest challenge - it only commits to the VTXO ID itself, with no additional challenge data or context. It proves the user controls the VTXO and is authorised to query its status.
No additional unique or random challenge data is necessary here. We’re not concerned with guarding against “replay” attacks as this challenge is for informational purposes and knowledge of this proof by a third party would indicate some kind of prior privacy leak for the user.
A malicious third party that can access this signed message would only be able to query the status of this specific VTXO.
Implementations§
Trait Implementations§
Source§impl Clone for VtxoStatusChallenge
impl Clone for VtxoStatusChallenge
Source§fn clone(&self) -> VtxoStatusChallenge
fn clone(&self) -> VtxoStatusChallenge
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Hash for VtxoStatusChallenge
impl Hash for VtxoStatusChallenge
Source§impl Ord for VtxoStatusChallenge
impl Ord for VtxoStatusChallenge
Source§fn cmp(&self, other: &VtxoStatusChallenge) -> Ordering
fn cmp(&self, other: &VtxoStatusChallenge) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VtxoStatusChallenge
impl PartialEq for VtxoStatusChallenge
Source§impl PartialOrd for VtxoStatusChallenge
impl PartialOrd for VtxoStatusChallenge
impl Copy for VtxoStatusChallenge
impl Eq for VtxoStatusChallenge
impl StructuralPartialEq for VtxoStatusChallenge
Auto Trait Implementations§
impl Freeze for VtxoStatusChallenge
impl RefUnwindSafe for VtxoStatusChallenge
impl Send for VtxoStatusChallenge
impl Sync for VtxoStatusChallenge
impl Unpin for VtxoStatusChallenge
impl UnwindSafe for VtxoStatusChallenge
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.