aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-11-10 23:00:24 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-11-10 23:00:24 +0000
commit0e418d2a58a04d8eebae19870f9cc51348af02ca (patch)
tree5c6879e68b47fc8cfd5276b81a43144694a5b624 /src
parentMerge pull request #1312 (diff)
downloadmonero-0e418d2a58a04d8eebae19870f9cc51348af02ca.tar.xz
rpc: bump RPC version
I forgot to bump it previously when changing RPC, most notably for the addition of the unlocked field in the histogram RPC. This causes new wallets to not realize when they're talking to an older daemon, and get confused trying to get outputs to use as fake outs. This otherwise gratuitous bump ensures than old daemons will be detected by wallets using this code.
Diffstat (limited to 'src')
-rw-r--r--src/rpc/core_rpc_server_commands_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server_commands_defs.h b/src/rpc/core_rpc_server_commands_defs.h
index 718c98b6a..6d452f59d 100644
--- a/src/rpc/core_rpc_server_commands_defs.h
+++ b/src/rpc/core_rpc_server_commands_defs.h
@@ -41,7 +41,7 @@ namespace cryptonote
#define CORE_RPC_STATUS_BUSY "BUSY"
#define CORE_RPC_STATUS_NOT_MINING "NOT MINING"
-#define CORE_RPC_VERSION 3
+#define CORE_RPC_VERSION 4
struct COMMAND_RPC_GET_HEIGHT
{