|
| Wallet * | createWallet (const std::string &path, const std::string &password, const std::string &language, NetworkType nettype, uint64_t kdf_rounds=1) override |
| | Creates new wallet.
|
| |
| Wallet * | openWallet (const std::string &path, const std::string &password, NetworkType nettype, uint64_t kdf_rounds=1, WalletListener *listener=nullptr) override |
| | Opens existing wallet.
|
| |
| virtual Wallet * | recoveryWallet (const std::string &path, const std::string &password, const std::string &mnemonic, NetworkType nettype, uint64_t restoreHeight, uint64_t kdf_rounds=1, const std::string &seed_offset={}) override |
| | recovers existing wallet using mnemonic (electrum seed)
|
| |
| virtual Wallet * | createWalletFromKeys (const std::string &path, const std::string &password, const std::string &language, NetworkType nettype, uint64_t restoreHeight, const std::string &addressString, const std::string &viewKeyString, const std::string &spendKeyString="", uint64_t kdf_rounds=1) override |
| | recovers existing wallet using keys. Creates a view only wallet if spend key is omitted
|
| |
| virtual Wallet * | recoveryWallet (const std::string &path, const std::string &mnemonic, NetworkType nettype, uint64_t restoreHeight) override |
| | recovers existing wallet using mnemonic (electrum seed)
|
| |
| virtual Wallet * | createWalletFromKeys (const std::string &path, const std::string &language, NetworkType nettype, uint64_t restoreHeight, const std::string &addressString, const std::string &viewKeyString, const std::string &spendKeyString="") override |
| | recovers existing wallet using keys. Creates a view only wallet if spend key is omitted
|
| |
| virtual Wallet * | createWalletFromDevice (const std::string &path, const std::string &password, NetworkType nettype, const std::string &deviceName, uint64_t restoreHeight=0, const std::string &subaddressLookahead="", uint64_t kdf_rounds=1, WalletListener *listener=nullptr) override |
| | creates wallet using hardware device.
|
| |
| virtual bool | closeWallet (Wallet *wallet, bool store=true) override |
| | Closes wallet. In case operation succeeded, wallet object deleted. in case operation failed, wallet object not deleted.
|
| |
| bool | walletExists (const std::string &path) override |
| | TODO: delme walletExists - check if the given filename is the wallet.
|
| |
| bool | verifyWalletPassword (const std::string &keys_file_name, const std::string &password, bool no_spend_key, uint64_t kdf_rounds=1) const override |
| | verifyWalletPassword - check if the given filename is the wallet
|
| |
| bool | queryWalletDevice (Wallet::Device &device_type, const std::string &keys_file_name, const std::string &password, uint64_t kdf_rounds=1) const override |
| | determine the key storage for the specified wallet file
|
| |
| std::vector< std::string > | findWallets (const std::string &path) override |
| | findWallets - searches for the wallet files by given path name recursively
|
| |
| std::string | errorString () const override |
| | returns verbose error string regarding last error;
|
| |
| void | setDaemonAddress (const std::string &address) override |
| | set the daemon address (hostname and port)
|
| |
| bool | connected (uint32_t *version=NULL) override |
| | returns whether the daemon can be reached, and its version number
|
| |
| uint64_t | blockchainHeight () override |
| | returns current blockchain height
|
| |
| uint64_t | blockchainTargetHeight () override |
| | returns current blockchain target height
|
| |
| uint64_t | networkDifficulty () override |
| | returns current network difficulty
|
| |
| double | miningHashRate () override |
| | returns current mining hash rate (0 if not mining)
|
| |
| uint64_t | blockTarget () override |
| | returns current block target
|
| |
| bool | isMining () override |
| | returns true iff mining
|
| |
| bool | startMining (const std::string &address, uint32_t threads=1, bool background_mining=false, bool ignore_battery=true) override |
| | starts mining with the set number of threads
|
| |
| bool | stopMining () override |
| | stops mining
|
| |
| std::string | resolveOpenAlias (const std::string &address, bool &dnssec_valid) const override |
| | resolves an OpenAlias address to a monero address
|
| |
| bool | setProxy (const std::string &address) override |
| | sets proxy address, empty string to disable
|
| |
| virtual Wallet * | createWallet (const std::string &path, const std::string &password, const std::string &language, NetworkType nettype, uint64_t kdf_rounds=1)=0 |
| | Creates new wallet.
|
| |
| Wallet * | createWallet (const std::string &path, const std::string &password, const std::string &language, bool testnet=false) |
| |
| virtual Wallet * | openWallet (const std::string &path, const std::string &password, NetworkType nettype, uint64_t kdf_rounds=1, WalletListener *listener=nullptr)=0 |
| | Opens existing wallet.
|
| |
| Wallet * | openWallet (const std::string &path, const std::string &password, bool testnet=false) |
| |
| virtual Wallet * | recoveryWallet (const std::string &path, const std::string &password, const std::string &mnemonic, NetworkType nettype=MAINNET, uint64_t restoreHeight=0, uint64_t kdf_rounds=1, const std::string &seed_offset={})=0 |
| | recovers existing wallet using mnemonic (electrum seed)
|
| |
| Wallet * | recoveryWallet (const std::string &path, const std::string &password, const std::string &mnemonic, bool testnet=false, uint64_t restoreHeight=0) |
| |
| virtual Wallet * | recoveryWallet (const std::string &path, const std::string &mnemonic, NetworkType nettype, uint64_t restoreHeight=0)=0 |
| | recovers existing wallet using mnemonic (electrum seed)
|
| |
| Wallet * | recoveryWallet (const std::string &path, const std::string &mnemonic, bool testnet=false, uint64_t restoreHeight=0) |
| |
| virtual Wallet * | createWalletFromKeys (const std::string &path, const std::string &password, const std::string &language, NetworkType nettype, uint64_t restoreHeight, const std::string &addressString, const std::string &viewKeyString, const std::string &spendKeyString="", uint64_t kdf_rounds=1)=0 |
| | recovers existing wallet using keys. Creates a view only wallet if spend key is omitted
|
| |
| Wallet * | createWalletFromKeys (const std::string &path, const std::string &password, const std::string &language, bool testnet, uint64_t restoreHeight, const std::string &addressString, const std::string &viewKeyString, const std::string &spendKeyString="") |
| |
| virtual Wallet * | createWalletFromKeys (const std::string &path, const std::string &language, NetworkType nettype, uint64_t restoreHeight, const std::string &addressString, const std::string &viewKeyString, const std::string &spendKeyString="")=0 |
| | recovers existing wallet using keys. Creates a view only wallet if spend key is omitted
|
| |
| Wallet * | createWalletFromKeys (const std::string &path, const std::string &language, bool testnet, uint64_t restoreHeight, const std::string &addressString, const std::string &viewKeyString, const std::string &spendKeyString="") |
| |
| virtual Wallet * | createWalletFromDevice (const std::string &path, const std::string &password, NetworkType nettype, const std::string &deviceName, uint64_t restoreHeight=0, const std::string &subaddressLookahead="", uint64_t kdf_rounds=1, WalletListener *listener=nullptr)=0 |
| | creates wallet using hardware device.
|
| |
| virtual bool | closeWallet (Wallet *wallet, bool store=true)=0 |
| | Closes wallet. In case operation succeeded, wallet object deleted. in case operation failed, wallet object not deleted.
|
| |
| virtual bool | walletExists (const std::string &path)=0 |
| | TODO: delme walletExists - check if the given filename is the wallet.
|
| |
| virtual bool | verifyWalletPassword (const std::string &keys_file_name, const std::string &password, bool no_spend_key, uint64_t kdf_rounds=1) const =0 |
| | verifyWalletPassword - check if the given filename is the wallet
|
| |
| virtual bool | queryWalletDevice (Wallet::Device &device_type, const std::string &keys_file_name, const std::string &password, uint64_t kdf_rounds=1) const =0 |
| | determine the key storage for the specified wallet file
|
| |
| virtual std::vector< std::string > | findWallets (const std::string &path)=0 |
| | findWallets - searches for the wallet files by given path name recursively
|
| |
| virtual std::string | errorString () const =0 |
| | returns verbose error string regarding last error;
|
| |
| virtual void | setDaemonAddress (const std::string &address)=0 |
| | set the daemon address (hostname and port)
|
| |
| virtual bool | connected (uint32_t *version=NULL)=0 |
| | returns whether the daemon can be reached, and its version number
|
| |
| virtual uint64_t | blockchainHeight ()=0 |
| | returns current blockchain height
|
| |
| virtual uint64_t | blockchainTargetHeight ()=0 |
| | returns current blockchain target height
|
| |
| virtual uint64_t | networkDifficulty ()=0 |
| | returns current network difficulty
|
| |
| virtual double | miningHashRate ()=0 |
| | returns current mining hash rate (0 if not mining)
|
| |
| virtual uint64_t | blockTarget ()=0 |
| | returns current block target
|
| |
| virtual bool | isMining ()=0 |
| | returns true iff mining
|
| |
| virtual bool | startMining (const std::string &address, uint32_t threads=1, bool background_mining=false, bool ignore_battery=true)=0 |
| | starts mining with the set number of threads
|
| |
| virtual bool | stopMining ()=0 |
| | stops mining
|
| |
| virtual std::string | resolveOpenAlias (const std::string &address, bool &dnssec_valid) const =0 |
| | resolves an OpenAlias address to a monero address
|
| |
| virtual bool | setProxy (const std::string &address)=0 |
| | sets proxy address, empty string to disable
|
| |