pub enum DescriptorBlindingKey {
Slip77,
Slip77Rand,
Elip151,
}
Expand description
Some descriptor blinding keys variant
Not all the possible cases described in ELIP150 have a corresponding variant in this enum.
Variants§
Slip77
Deterministic SLIP77 master blinding key
Derived from the BIP32 seed.
Slip77Rand
Random SLIP77 master blinding key
Randomly generated SLIP77 master blinding key. Useful fot cases where the seed isn’t available or is not well defined (e.g. multisig).
Note that single blinding keys are derived deterministically from this SLIP77 master blinding key.
Elip151
ELIP151 descriptor blinding key
Derived from the ordinary descriptor.
Trait Implementations§
source§impl Clone for DescriptorBlindingKey
impl Clone for DescriptorBlindingKey
source§fn clone(&self) -> DescriptorBlindingKey
fn clone(&self) -> DescriptorBlindingKey
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 DescriptorBlindingKey
impl Debug for DescriptorBlindingKey
source§impl FromStr for DescriptorBlindingKey
impl FromStr for DescriptorBlindingKey
impl Copy for DescriptorBlindingKey
Auto Trait Implementations§
impl Freeze for DescriptorBlindingKey
impl RefUnwindSafe for DescriptorBlindingKey
impl Send for DescriptorBlindingKey
impl Sync for DescriptorBlindingKey
impl Unpin for DescriptorBlindingKey
impl UnwindSafe for DescriptorBlindingKey
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