aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-05-31 15:34:55 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-05-31 15:34:55 +0100
commitc882af63c1978dacedaca2e4de8114e45163dab5 (patch)
tree631b3fd0a967df2de761fd96efa7d2c4178c18c9 /src/simplewallet/simplewallet.h
parentaccount: add a forget_spend_key method (diff)
downloadmonero-c882af63c1978dacedaca2e4de8114e45163dab5.tar.xz
wallet: add watch only wallet support
The new save_watch_only saves a copy of the keys file without the spend key. It can then be given away to be used as a normal keys file, but with no spend ability.
Diffstat (limited to 'src/simplewallet/simplewallet.h')
-rw-r--r--src/simplewallet/simplewallet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.h b/src/simplewallet/simplewallet.h
index d4ef0703b..fa16fd386 100644
--- a/src/simplewallet/simplewallet.h
+++ b/src/simplewallet/simplewallet.h
@@ -109,6 +109,7 @@ namespace cryptonote
);
bool print_address(const std::vector<std::string> &args = std::vector<std::string>());
bool save(const std::vector<std::string> &args);
+ bool save_watch_only(const std::vector<std::string> &args);
bool set_variable(const std::vector<std::string> &args);
bool set_log(const std::vector<std::string> &args);