Expand description
Block proof, which replaces PoW with an arbitrary script satisfaction
Fields
challenge: Script
Block “public key”
solution: Script
Satisfying witness to the above challenge, or nothing
Trait Implementations
sourceimpl<D: SimpleDecoder> ConsensusDecodable<D> for Proof
impl<D: SimpleDecoder> ConsensusDecodable<D> for Proof
sourceimpl<S: SimpleEncoder> ConsensusEncodable<S> for Proof
impl<S: SimpleEncoder> ConsensusEncodable<S> for Proof
impl Eq for Proof
impl StructuralEq for Proof
impl StructuralPartialEq for Proof
Auto Trait Implementations
impl RefUnwindSafe for Proof
impl Send for Proof
impl Sync for Proof
impl Unpin for Proof
impl UnwindSafe for Proof
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more