Parsed data from a transaction input's pegin witness
Reference to the pegin output on the mainchain
The value, in satoshis, of the pegin
Asset type being pegged in
Hash of genesis block of originating blockchain
claim_script: &'tx [u8]
The claim script that we should hash to tweak our address. Unparsed to avoid unnecessary allocation and copying. Typical use is simply to feed it raw into a hash function.
tx: &'tx [u8]
Mainchain transaction; not parsed to save time/memory since the parsed transaction is typically not useful without auxillary data (e.g. knowing how to compute pegin addresses for the sidechain).
merkle_proof: &'tx [u8]
Merkle proof of transaction inclusion; also not parsed
The Bitcoin block that the pegin output appears in; scraped from the transaction inclusion proof
fn hash_slice<H>(data: &[Self], state: &mut H) where1.3.0[src]
impl<'tx> StructuralEq for PeginData<'tx>[src]
impl<'tx> StructuralPartialEq for PeginData<'tx>[src]
impl<'tx> RefUnwindSafe for PeginData<'tx>
impl<'tx> UnwindSafe for PeginData<'tx>
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.