pub trait Multisig {
// Required methods
fn is_opcheckmultisig(&self) -> bool;
fn get_opcheckmultisig_n_m(&self) -> Result<Option<(u8, u8)>, Error>;
}Required Methods§
fn is_opcheckmultisig(&self) -> bool
fn get_opcheckmultisig_n_m(&self) -> Result<Option<(u8, u8)>, Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl Multisig for Script
impl Multisig for Script
Source§fn is_opcheckmultisig(&self) -> bool
fn is_opcheckmultisig(&self) -> bool
Tests if the script is OP_CHECKMULTISIG conform.
Expected: <OP_PUSHNUM_N> M *