[#PrecomputedTransactionData-Init] = xref:PrecomputedTransactionData.adoc[PrecomputedTransactionData]::Init :relfileprefix: ../ :mrdocs: Initialize this PrecomputedTransactionData with transaction data. == Synopsis Declared in `<script/interpreter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class T> void Init( T const& tx, std::vector<CTxOut>&& spent_outputs, bool force = false); ---- == Parameters [cols="1,4"] |=== | Name| Description | *tx* [in] | The transaction for which data is being precomputed. | *spent_outputs* [in] | The CTxOuts being spent, one for each tx.vin, in order. | *force* [in] | 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). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#