pub struct Bip44PublicSubAccount<C: KeyDerivationCrypto + 'static> { /* private fields */ }
Expand description

A sub-account of a given account on a given coin that is either used for external keys (receiving addresses) or internal keys (change addresses). Some implementations do not distinguish these and just always use receiving addresses.

Implementations

Backdoor to mount a BIP44 sub-account at any place in the BIP32 tree. Use only for implementing advanced or fringe non-standard use-cases.

Accessor for the underlying BIP32 node.

Creates a key with a given index used on the chain for storing balance or authenticating actions.

Accessor for the BIP44 path of the sub-account.

Accessor for the BIP32 path of the sub-account.

Accessor for the underlying nwtwork.

Recreates the public API of a BIP44 sub-account from its parts

Returns the extended public key in the BIP32 readable format with the version bytes of the network.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.