mirror of
https://github.com/monero-project/monero.git
synced 2025-07-27 03:35:31 -04:00
wallet2_api: add key reuse mitigations API
This commit is contained in:
parent
b057a21d56
commit
798535149d
3 changed files with 27 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue