Struct rawtx_rs::input::MultisigInputInfo
source · pub struct MultisigInputInfo {
pub m_of_n: (u8, u8),
pub unknown_n: bool,
}
Expand description
Contains information about a multi-signature construct used in an input.
Fields§
§m_of_n: (u8, u8)
Represents the number of needed signatures m
from the possible
signatures n
. Example: In a 2-of-3 (m = 2, n = 3) multisig there must
be signatures corresponding to two out of 3 possibly allowed Public Keys
supplied.
unknown_n: bool
For P2MS inputs the n value (number of possible signatures) can not be
retrieved from the P2MS input. This is indicated by this boolean set to
true
.
Trait Implementations§
source§impl Clone for MultisigInputInfo
impl Clone for MultisigInputInfo
source§fn clone(&self) -> MultisigInputInfo
fn clone(&self) -> MultisigInputInfo
Returns a copy 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 MultisigInputInfo
impl Debug for MultisigInputInfo
source§impl PartialEq for MultisigInputInfo
impl PartialEq for MultisigInputInfo
source§fn eq(&self, other: &MultisigInputInfo) -> bool
fn eq(&self, other: &MultisigInputInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MultisigInputInfo
impl StructuralPartialEq for MultisigInputInfo
Auto Trait Implementations§
impl Freeze for MultisigInputInfo
impl RefUnwindSafe for MultisigInputInfo
impl Send for MultisigInputInfo
impl Sync for MultisigInputInfo
impl Unpin for MultisigInputInfo
impl UnwindSafe for MultisigInputInfo
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