pub struct ExecuteOpts {
pub sighash: Option<[u8; 32]>,
}Expand description
Options for script execution.
Controls optional behavior such as real OP_CHECKSIG verification.
Fields§
§sighash: Option<[u8; 32]>The sighash digest for OP_CHECKSIG verification.
When None, OP_CHECKSIG always pushes true (stub mode).
When Some and the secp256k1 feature is enabled,
real ECDSA signature verification is performed.
Trait Implementations§
Source§impl Clone for ExecuteOpts
impl Clone for ExecuteOpts
Source§fn clone(&self) -> ExecuteOpts
fn clone(&self) -> ExecuteOpts
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecuteOpts
impl Debug for ExecuteOpts
Source§impl Default for ExecuteOpts
impl Default for ExecuteOpts
Source§fn default() -> ExecuteOpts
fn default() -> ExecuteOpts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExecuteOpts
impl RefUnwindSafe for ExecuteOpts
impl Send for ExecuteOpts
impl Sync for ExecuteOpts
impl Unpin for ExecuteOpts
impl UnwindSafe for ExecuteOpts
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