Struct bitcoin_tx::PrecomputedTransactionData
source · pub struct PrecomputedTransactionData { /* private fields */ }Implementations§
source§impl PrecomputedTransactionData
impl PrecomputedTransactionData
sourcepub fn init<T>(
&mut self,
tx_to: &T,
spent_outputs: Vec<TxOut>,
force: Option<bool>
)
pub fn init<T>( &mut self, tx_to: &T, spent_outputs: Vec<TxOut>, force: Option<bool> )
| Initialize this PrecomputedTransactionData | with transaction data. | | ———– | @param[in] tx | | The transaction for which data is being | precomputed. | ––––– | @param[in] spent_outputs | | The CTxOuts being spent, one for each | tx.vin, in order. | ––––– | @param[in] force | | Whether to precompute data for all optional | features, regardless of what is in the | inputs (used at signing time, when the | inputs aren’t filled in yet). |
pub fn new<T>(tx_to: &T) -> Self
Trait Implementations§
source§impl Default for PrecomputedTransactionData
impl Default for PrecomputedTransactionData
source§fn default() -> PrecomputedTransactionData
fn default() -> PrecomputedTransactionData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for PrecomputedTransactionData
impl Send for PrecomputedTransactionData
impl Sync for PrecomputedTransactionData
impl Unpin for PrecomputedTransactionData
impl UnwindSafe for PrecomputedTransactionData
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more