pub struct L1WalletBls;Expand description
DIG/Chia L1 wallet master BLS key (the root of wallet HD derivation).
Callers typically unlock this, take the derived chia_bls::SecretKey, and
use chia_bls::DerivableKey::derive_unhardened / derive_hardened at the
wallet layer. The keystore does not itself perform HD derivation.
Trait Implementations§
Source§impl Clone for L1WalletBls
impl Clone for L1WalletBls
Source§fn clone(&self) -> L1WalletBls
fn clone(&self) -> L1WalletBls
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for L1WalletBls
Source§impl Debug for L1WalletBls
impl Debug for L1WalletBls
Source§impl KeyScheme for L1WalletBls
impl KeyScheme for L1WalletBls
Source§const NAME: &'static str = "L1WalletBls"
const NAME: &'static str = "L1WalletBls"
Human-readable name for error messages (e.g.,
"BlsSigning"). Read moreSource§const SECRET_LEN: usize = 32
const SECRET_LEN: usize = 32
Length (in bytes) of the canonical secret. Read more
Source§fn generate<R: RngCore + CryptoRng>(rng: &mut R) -> Zeroizing<Vec<u8>>
fn generate<R: RngCore + CryptoRng>(rng: &mut R) -> Zeroizing<Vec<u8>>
Generate fresh secret bytes. Read more
Auto Trait Implementations§
impl Freeze for L1WalletBls
impl RefUnwindSafe for L1WalletBls
impl Send for L1WalletBls
impl Sync for L1WalletBls
impl Unpin for L1WalletBls
impl UnsafeUnpin for L1WalletBls
impl UnwindSafe for L1WalletBls
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more