[][src]Struct sv::wallet::ExtendedKey

pub struct ExtendedKey(pub [u8; 78]);

A private or public key in an hierarchial deterministic wallet

Methods

impl ExtendedKey
[src]

Creates a new extended public key

Creates a new extended private key

Gets the extended key version byte prefix

Gets the network

Gets the key type

Gets the depth

Gets the first 4 bytes of the parent key, or 0 if this is the master key

Get the index of this key as derived from the parent

Gets the chain code

Gets the public key if this is an extended public key

Gets the private key if this is an extended private key

Gets the fingerprint of the public key hash

Gets the extenced public key for this key

Derives an extended child private key from an extended parent private key

Derives an extended child public key from an extended parent public key

Encodes an extended key into a string

Decodes an extended key from a string

Trait Implementations

impl Serializable<ExtendedKey> for ExtendedKey
[src]

impl Clone for ExtendedKey
[src]

Performs copy-assignment from source. Read more

impl Copy for ExtendedKey
[src]

impl Eq for ExtendedKey
[src]

impl PartialEq<ExtendedKey> for ExtendedKey
[src]

This method tests for !=.

impl Debug for ExtendedKey
[src]

Auto Trait Implementations

impl Send for ExtendedKey

impl Sync for ExtendedKey

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

Should always be Self