Module epic_keychain::extkey_bip32
source · [−]Expand description
Implementation of BIP32 hierarchical deterministic wallets, as defined at https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki Modified from above to integrate into epic and allow for different hashing algorithms if desired
Structs
Implementation of the above that uses the standard BIP32 Hash algorithms
A chain code
Extended private key
Extended public key
A fingerprint
Enums
A child number for a derived key
A BIP32 error
Traits
Allow different implementations of hash functions used in BIP32 Derivations Epic uses blake2 everywhere but the spec calls for SHA512/Ripemd160, so allow this in future and allow us to unit test against published BIP32 test vectors The function names refer to the place of the hash in the reference BIP32 spec, not what the actual implementation is