|
const WipeableString | phrase (const SeedLanguage &language, const std::string &password="") const override |
| seed phrase in a specified language
|
|
const SeedIndices | indices (const std::string &password="") const override |
| Gets the raw numeric values representing the seed (indices)
|
|
virtual | ~Seed ()=default |
| Virtual destructor to ensure proper cleanup of derived classes.
|
|
virtual const std::string & | fingerprint () const noexcept |
| Provides a unique fingerprint for the seed.
|
|
virtual const Address & | address () const noexcept |
| Address of the seed.
|
|
virtual const uint64_t | timestamp () const noexcept |
| Gets the seed's creation timestamp.
|
|
virtual const uint64_t | height () const noexcept |
| Gets the blockchain height associated with the seed.
|
|
virtual const Network & | network () const noexcept |
| Gets the network associated with the seed.
|
|
virtual std::shared_ptr< Wallet > | wallet () noexcept |
| Creates a wallet from the seed.
|
|
| Seed (const Seed &)=delete |
|
Seed & | operator= (const Seed &)=delete |
|
| Seed (Seed &&) noexcept=default |
|
Seed & | operator= (Seed &&) noexcept=default |
|
|
static LegacySeed | decode (const std::string &phrase, uint64_t height=0, uint64_t time=0, Network network=Network::MAIN) |
| Decodes a seed from a phrase.
|
|
static LegacySeed | decode (const SeedIndices &indices, uint64_t height=0, uint64_t time=0, Network network=Network::MAIN) |
| Decodes a seed from numeric values.
|
|
static LegacySeed | decode (const std::vector< uint16_t > &values, uint64_t height=0, uint64_t time=0, Network network=Network::MAIN) |
| Decodes a seed from numeric values.
|
|
static std::vector< uint16_t > | mergeValues (const std::vector< uint16_t > &values1, const std::vector< uint16_t > &values2) |
| Merges two seed values, so you can join multiple SeedQRs to one seed.
|
|
static std::vector< uint16_t > | mergeValues (const std::vector< std::vector< uint16_t > > &values) |
| Merges multiple seed values, so you can join multiple SeedQRs to one seed.
|
|
static std::vector< uint16_t > | mergeAndZeorizeValues (std::vector< uint16_t > &values1, std::vector< uint16_t > &values2, bool del=true) |
| Merges two seed values, so you can join multiple SeedQRs to one seed.
|
|
static std::vector< uint16_t > | mergeAndZeorizeValues (std::vector< std::vector< uint16_t > > &values, bool del=true) |
| Merges multiple seed values, so you can join multiple SeedQRs to one seed.
|
|
static std::vector< uint16_t > | mergeWithPassword (const std::string &password, const std::vector< uint16_t > &values) |
| Merge password with seed values.
|
|
static std::vector< uint16_t > | mergeWithPasswordAndZeorize (std::string &password, std::vector< uint16_t > &values, bool del=true) |
| Merge password with seed values and zeroize password.
|
|
static std::vector< uint16_t > | mergeWithPassword (const WipeableString &password, const std::vector< uint16_t > &values) |
| Merge password with seed values.
|
|
static std::vector< uint16_t > | mergeWithPasswordAndZeorize (const WipeableString &password, std::vector< uint16_t > &values, bool del=true) |
| Merge password with seed values and zeroize values.
|
|
Represents a monero 13-words seed type for backward compatibility.
Provides only decoding