[][src]Enum elements::BlockExtData

pub enum BlockExtData {
    Proof {
        challenge: Script,
        solution: Script,
    Dynafed {
        current: Params,
        proposed: Params,
        signblock_witness: Vec<Vec<u8>>,

Data related to block signatures



Liquid v1-style static signblockscript and witness

Fields of Proof

challenge: Script

Block "public key"

solution: Script

Satisfying witness to the above challenge, or nothing


Dynamic federations

Fields of Dynafed

current: Params

Current dynamic federation parameters

proposed: Params

Proposed dynamic federation parameters

signblock_witness: Vec<Vec<u8>>

Witness satisfying the current blocksigning script

Trait Implementations

impl Clone for ExtData[src]

impl Debug for ExtData[src]

impl Default for ExtData[src]

impl Encodable for ExtData[src]

impl Eq for ExtData[src]

impl Hash for ExtData[src]

impl PartialEq<ExtData> for ExtData[src]

impl StructuralEq for ExtData[src]

impl StructuralPartialEq for ExtData[src]

Auto Trait Implementations

impl RefUnwindSafe for ExtData

impl Send for ExtData

impl Sync for ExtData

impl Unpin for ExtData

impl UnwindSafe for ExtData

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.