Struct bitcoin_txmempool::ScriptCheck
source · pub struct ScriptCheck { /* private fields */ }Expand description
| Closure representing one script verification | | ———– | @note | | this stores references to the spending | transaction |
Implementations§
source§impl ScriptCheck
impl ScriptCheck
pub fn new( out_in: &TxOut, tx_to_in: &Transaction, n_in_in: u32, n_flags_in: u32, cache_in: bool, txdata_in: Arc<Mutex<PrecomputedTransactionData>> ) -> Self
pub fn swap(&mut self, check: &mut ScriptCheck)
pub fn get_script_error(&self) -> ScriptError
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ScriptCheck
impl Send for ScriptCheck
impl Sync for ScriptCheck
impl Unpin for ScriptCheck
impl !UnwindSafe for ScriptCheck
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