ledger-core
|
#include <BitcoinLikeExtendedPublicKey.hpp>
Public Member Functions | |
virtual std::shared_ptr< BitcoinLikeAddress > | derive (const std::string &path)=0 |
virtual std::vector< uint8_t > | derivePublicKey (const std::string &path)=0 |
virtual std::vector< uint8_t > | deriveHash160 (const std::string &path)=0 |
virtual std::string | toBase58 ()=0 |
virtual std::string | getRootPath ()=0 |
The xPUB definition for Bitcoin.
|
pure virtual |
Derive an address from an xPUB and a path.
Implemented in ledger::core::BitcoinLikeExtendedPublicKey.
|
pure virtual |
Derive a shorten version of a public key (SHA256 + RIPEMD160) from an xPUB and a path.
Implemented in ledger::core::BitcoinLikeExtendedPublicKey.
|
pure virtual |
Derive a public key from an xPUB and a path.
Implemented in ledger::core::BitcoinLikeExtendedPublicKey.
|
pure virtual |
Get the root path of the xPUB.
Implemented in ledger::core::BitcoinLikeExtendedPublicKey.
|
pure virtual |
Get the xPUB in base 58.
Implemented in ledger::core::BitcoinLikeExtendedPublicKey.