pub struct ScriptInterpreter<E: ECC> { /* private fields */ }
Implementations§
Source§impl<E: ECC> ScriptInterpreter<E>
impl<E: ECC> ScriptInterpreter<E>
pub fn new(tx: Arc<Tx>, input_idx: usize, ecc: Arc<E>) -> Self
pub fn run(&mut self) -> Result<bool, ScriptError>
pub fn push_input_data(&mut self) -> Result<(), ScriptError>
pub fn is_finished(&self) -> bool
pub fn instruction_pointer(&self) -> usize
pub fn run_next_op(&mut self) -> Result<(), ScriptError>
pub fn stack(&self) -> &[StackItem]
pub fn alt_stack(&self) -> &[StackItem]
pub fn exec_stack(&self) -> &[bool]
Auto Trait Implementations§
impl<E> Freeze for ScriptInterpreter<E>
impl<E> RefUnwindSafe for ScriptInterpreter<E>where
E: RefUnwindSafe,
impl<E> Send for ScriptInterpreter<E>
impl<E> Sync for ScriptInterpreter<E>
impl<E> Unpin for ScriptInterpreter<E>
impl<E> UnwindSafe for ScriptInterpreter<E>where
E: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more