[][src]Struct lnpbp::bp::dbc::tx::TxContainer

pub struct TxContainer {
    pub protocol_factor: u32,
    pub fee: u64,
    pub txout_container: TxoutContainer,
    pub tx: Transaction,
    pub tweaking_factor: Option<Hmac<Hash>>,
}

Fields

protocol_factor: u32fee: u64txout_container: TxoutContainertx: Transactiontweaking_factor: Option<Hmac<Hash>>

Tweaking factor stored after [TxContainer::commit_verify] procedure

Implementations

impl TxContainer[src]

pub fn construct(
    protocol_factor: u32,
    protocol_tag: &Hash,
    fee: u64,
    tx: Transaction,
    pubkey: PublicKey,
    source: ScriptEncodeData,
    method: ScriptEncodeMethod
) -> Self
[src]

pub fn vout(&self) -> usize[src]

Trait Implementations

impl Clone for TxContainer[src]

impl Container for TxContainer[src]

type Supplement = TxSupplement

type Host = Transaction

impl Debug for TxContainer[src]

impl Display for TxContainer[src]

impl Eq for TxContainer[src]

impl PartialEq<TxContainer> for TxContainer[src]

impl StructuralEq for TxContainer[src]

impl StructuralPartialEq for TxContainer[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,