Struct chain_impl_mockchain::multisig::WitnessBuilder
source · pub struct WitnessBuilder(BTreeMap<TreeIndex, (PublicKey<AccountAlg>, Signature<WitnessMultisigData, AccountAlg>)>);
Tuple Fields§
§0: BTreeMap<TreeIndex, (PublicKey<AccountAlg>, Signature<WitnessMultisigData, AccountAlg>)>
Implementations§
source§impl WitnessBuilder
impl WitnessBuilder
pub fn new() -> Self
pub fn append( &mut self, index: TreeIndex, publickey: PublicKey<AccountAlg>, sig: Signature<WitnessMultisigData, AccountAlg> )
pub fn finalize(&self) -> Witness
Trait Implementations§
source§impl Default for WitnessBuilder
impl Default for WitnessBuilder
source§fn default() -> WitnessBuilder
fn default() -> WitnessBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for WitnessBuilder
impl Send for WitnessBuilder
impl Sync for WitnessBuilder
impl Unpin for WitnessBuilder
impl UnwindSafe for WitnessBuilder
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