pub struct ChildDerivation {
pub tweak: [u8; 32],
pub child_chaincode: [u8; 32],
pub child_pubkey: [u8; 32],
}Expand description
Result of one BIP-32 unhardened public derivation step.
tweak is the scalar that must be added to the parent point (and, in the
FROST signing path, to every co-signer’s share) to produce the child key.
child_chaincode feeds into the next derivation step along the path.
child_pubkey is the x-only 32-byte child public key.
Fields§
§tweak: [u8; 32]Scalar tweak IL from BIP-32 (the left 32 bytes of the HMAC output).
child_chaincode: [u8; 32]Next-level chaincode IR from BIP-32 (the right 32 bytes).
child_pubkey: [u8; 32]Child public key as a BIP-340 x-only 32-byte value.
Trait Implementations§
Source§impl Clone for ChildDerivation
impl Clone for ChildDerivation
impl Copy for ChildDerivation
Source§impl Debug for ChildDerivation
impl Debug for ChildDerivation
impl Eq for ChildDerivation
Source§impl PartialEq for ChildDerivation
impl PartialEq for ChildDerivation
impl StructuralPartialEq for ChildDerivation
Auto Trait Implementations§
impl Forget for ChildDerivation
impl Freeze for ChildDerivation
impl Move for ChildDerivation
impl RefUnwindSafe for ChildDerivation
impl Send for ChildDerivation
impl Sync for ChildDerivation
impl Unpin for ChildDerivation
impl UnsafeUnpin for ChildDerivation
impl UnwindSafe for ChildDerivation
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