aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/wallet.h
diff options
context:
space:
mode:
authorJoão Barbosa <joao.paulo.barbosa@gmail.com>2019-01-17 17:37:46 +0000
committerJoão Barbosa <joao.paulo.barbosa@gmail.com>2019-02-12 22:07:45 +0000
commitf6122abe03699423faca29035f16f3afc527f4d3 (patch)
treea71d1af59576a741a86f52b94bde5a9550aea674 /src/interfaces/wallet.h
parent029d28a7aa5619973eb59fe445b9a4186c0c2a58 (diff)
interfaces: Add remove to Wallet
Diffstat (limited to 'src/interfaces/wallet.h')
-rw-r--r--src/interfaces/wallet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h
index a86212356c..a931e5fafb 100644
--- a/src/interfaces/wallet.h
+++ b/src/interfaces/wallet.h
@@ -247,6 +247,9 @@ public:
// Get default change type.
virtual OutputType getDefaultChangeType() = 0;
+ // Remove wallet.
+ virtual void remove() = 0;
+
//! Register handler for unload message.
using UnloadFn = std::function<void()>;
virtual std::unique_ptr<Handler> handleUnload(UnloadFn fn) = 0;