clean up defaultMixin for wallet api

This commit is contained in:
fuwa 2018-07-13 15:34:44 +08:00
parent a53251ceb8
commit cb1174cbe7
2 changed files with 0 additions and 12 deletions

View file

@ -143,8 +143,6 @@ public:
virtual Subaddress * subaddress(); virtual Subaddress * subaddress();
virtual SubaddressAccount * subaddressAccount(); virtual SubaddressAccount * subaddressAccount();
virtual void setListener(WalletListener * l); virtual void setListener(WalletListener * l);
virtual uint32_t defaultMixin() const;
virtual void setDefaultMixin(uint32_t arg);
virtual bool setUserNote(const std::string &txid, const std::string &note); virtual bool setUserNote(const std::string &txid, const std::string &note);
virtual std::string getUserNote(const std::string &txid) const; virtual std::string getUserNote(const std::string &txid) const;
virtual std::string getTxKey(const std::string &txid) const; virtual std::string getTxKey(const std::string &txid) const;

View file

@ -696,16 +696,6 @@ struct Wallet
virtual Subaddress * subaddress() = 0; virtual Subaddress * subaddress() = 0;
virtual SubaddressAccount * subaddressAccount() = 0; virtual SubaddressAccount * subaddressAccount() = 0;
virtual void setListener(WalletListener *) = 0; virtual void setListener(WalletListener *) = 0;
/*!
* \brief defaultMixin - returns number of mixins used in transactions
* \return
*/
virtual uint32_t defaultMixin() const = 0;
/*!
* \brief setDefaultMixin - setum number of mixins to be used for new transactions
* \param arg
*/
virtual void setDefaultMixin(uint32_t arg) = 0;
/*! /*!
* \brief setUserNote - attach an arbitrary string note to a txid * \brief setUserNote - attach an arbitrary string note to a txid