mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 07:52:25 +00:00
Wallet api: testnet getter
This commit is contained in:
parent
daf66621dc
commit
e92c4fff1a
2 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,7 @@ public:
|
||||||
void setRecoveringFromSeed(bool recoveringFromSeed);
|
void setRecoveringFromSeed(bool recoveringFromSeed);
|
||||||
bool watchOnly() const;
|
bool watchOnly() const;
|
||||||
bool rescanSpent();
|
bool rescanSpent();
|
||||||
|
bool testnet() const {return m_wallet->testnet();}
|
||||||
|
|
||||||
|
|
||||||
PendingTransaction * createTransaction(const std::string &dst_addr, const std::string &payment_id,
|
PendingTransaction * createTransaction(const std::string &dst_addr, const std::string &payment_id,
|
||||||
|
|
|
@ -295,6 +295,7 @@ struct Wallet
|
||||||
virtual bool setPassword(const std::string &password) = 0;
|
virtual bool setPassword(const std::string &password) = 0;
|
||||||
virtual std::string address() const = 0;
|
virtual std::string address() const = 0;
|
||||||
virtual std::string path() const = 0;
|
virtual std::string path() const = 0;
|
||||||
|
virtual bool testnet() const = 0;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief integratedAddress - returns integrated address for current wallet address and given payment_id.
|
* \brief integratedAddress - returns integrated address for current wallet address and given payment_id.
|
||||||
|
|
Loading…
Reference in a new issue