aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server_error_codes.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-04-23 21:46:48 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-07-19 20:39:03 +0100
commit89d9f382a03235338bae65661e66d2d5ffa736d5 (patch)
treea375ca47ca2cf9f03cfb5dd064f3d6090efc6b13 /src/wallet/wallet_rpc_server_error_codes.h
parentMerge pull request #889 (diff)
downloadmonero-89d9f382a03235338bae65661e66d2d5ffa736d5.tar.xz
wallet: add command and RPC to sign/verify data
Signing is done using the spend key, since the view key may be shared. This could be extended later, to let the user choose which key (even a per tx key). simplewallet's sign/verify API uses a file. The RPC uses a string (simplewallet can't easily do strings since commands receive a tokenized set of arguments).
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 968836671..68edfe76e 100644
--- a/src/wallet/wallet_rpc_server_error_codes.h
+++ b/src/wallet/wallet_rpc_server_error_codes.h
@@ -39,3 +39,4 @@
#define WALLET_RPC_ERROR_CODE_TRANSFER_TYPE -6
#define WALLET_RPC_ERROR_CODE_DENIED -7
#define WALLET_RPC_ERROR_CODE_WRONG_TXID -8
+#define WALLET_RPC_ERROR_CODE_WRONG_SIGNATURE -9