aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server_error_codes.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-01-11 11:06:35 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-01-11 12:11:43 +0000
commit24d500ce8e27eade6e591f83e1381be62134e151 (patch)
tree41c6c08075eb9dbfcab565f97f2744852a257ded /src/wallet/wallet_rpc_server_error_codes.h
parentMerge pull request #206 (diff)
downloadmonero-24d500ce8e27eade6e591f83e1381be62134e151.tar.xz
Add a --restricted-rpc flag to simplewallet
It restricts RPC to a subset of "view only" commands. Kind of like a poor man's view key replacement.
Diffstat (limited to 'src/wallet/wallet_rpc_server_error_codes.h')
-rw-r--r--src/wallet/wallet_rpc_server_error_codes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server_error_codes.h b/src/wallet/wallet_rpc_server_error_codes.h
index 28df1acf2..28642c19d 100644
--- a/src/wallet/wallet_rpc_server_error_codes.h
+++ b/src/wallet/wallet_rpc_server_error_codes.h
@@ -37,3 +37,4 @@
#define WALLET_RPC_ERROR_CODE_GENERIC_TRANSFER_ERROR -4
#define WALLET_RPC_ERROR_CODE_WRONG_PAYMENT_ID -5
#define WALLET_RPC_ERROR_CODE_TRANSFER_TYPE -6
+#define WALLET_RPC_ERROR_CODE_DENIED -7