aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet2_api.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-12 12:33:05 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-16 12:07:42 +0000
commit798535149d85d2a1db9f6c21584fd43368cd3fe1 (patch)
tree56261a21c7ca6a446835c4bed84d3b52febef643 /src/wallet/api/wallet2_api.h
parentwallet2_api: add ring api (diff)
downloadmonero-798535149d85d2a1db9f6c21584fd43368cd3fe1.tar.xz
wallet2_api: add key reuse mitigations API
Diffstat (limited to '')
-rw-r--r--src/wallet/api/wallet2_api.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h
index b67e13ac5..c77e495a2 100644
--- a/src/wallet/api/wallet2_api.h
+++ b/src/wallet/api/wallet2_api.h
@@ -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;