[][src]Struct bitcoin_cash::UnsignedTx

pub struct UnsignedTx<'b> { /* fields omitted */ }

Implementations

impl<'b> UnsignedTx<'b>[src]

pub fn new(
    outputs: Vec<TxOutput>,
    builder: TxBuilder<'b>,
    tx_preimages: Vec<Vec<TxPreimage>>
) -> Self
[src]

pub fn sign_input_with<S: Signatory>(
    &mut self,
    input_token: InputReference<S>,
    make_sigs: impl FnOnce(&[TxPreimage]) -> S::Signatures
)
[src]

pub fn sign_input<S: Signatory>(
    &mut self,
    input_token: InputReference<S>,
    sigs: S::Signatures
)
[src]

pub fn preimages(&self) -> &[Vec<TxPreimage>]

Notable traits for &'_ mut [u8]

impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [u8]
[src]

pub fn complete_tx(self) -> UnhashedTx[src]

Auto Trait Implementations

impl<'b> !RefUnwindSafe for UnsignedTx<'b>

impl<'b> Send for UnsignedTx<'b>

impl<'b> Sync for UnsignedTx<'b>

impl<'b> Unpin for UnsignedTx<'b>

impl<'b> !UnwindSafe for UnsignedTx<'b>

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, 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.