wallet2_api: add key reuse mitigations API

This commit is contained in:
moneromooo-monero 2018-03-12 12:33:05 +00:00
parent b057a21d56
commit 798535149d
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
3 changed files with 27 additions and 0 deletions

View file

@ -769,6 +769,15 @@ struct Wallet
//! sets the ring used for a key image
virtual bool setRing(const std::string &key_image, const std::vector<uint64_t> &ring, bool relative) = 0;
//! sets whether pre-fork outs are to be segregated
virtual void segregatePreForkOutputs(bool segregate) = 0;
//! sets the height where segregation should occur
virtual void segregationHeight(uint64_t height) = 0;
//! secondary key reuse mitigation
virtual void keyReuseMitigation2(bool mitigation) = 0;
//! Light wallet authenticate and login
virtual bool lightWalletLogin(bool &isNewWallet) const = 0;