[][src]Function zcash_script::zcash_script_new_precomputed_tx

pub unsafe extern "C" fn zcash_script_new_precomputed_tx(
    txTo: *const c_uchar,
    txToLen: c_uint,
    err: *mut zcash_script_error
) -> *mut c_void

Deserializes the given transaction and precomputes values to improve script verification performance.

Returns a pointer to the precomputed transaction. Free this with zcash_script_free_precomputed_tx once you are done.

If not NULL, err will contain an error/success code for the operation.