diff options
author | artyomsol <2406155+artyomsol@users.noreply.github.com> | 2018-08-16 20:24:50 +0300 |
---|---|---|
committer | artyomsol <2406155+artyomsol@users.noreply.github.com> | 2018-08-17 09:54:26 +0300 |
commit | 3d5abbe86b7bc109be1ea4b946d454ff29a9a600 (patch) | |
tree | c457cb3e6789b75838620f65afa12501f3b40b86 /src/wallet/wallet_rpc_server_commands_defs.h | |
parent | Merge pull request #4191 (diff) | |
download | monero-3d5abbe86b7bc109be1ea4b946d454ff29a9a600.tar.xz |
[#4027] add change_wallet_password wallet rpc command
Diffstat (limited to 'src/wallet/wallet_rpc_server_commands_defs.h')
-rw-r--r-- | src/wallet/wallet_rpc_server_commands_defs.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/wallet/wallet_rpc_server_commands_defs.h b/src/wallet/wallet_rpc_server_commands_defs.h index 48d881c4c..54c255450 100644 --- a/src/wallet/wallet_rpc_server_commands_defs.h +++ b/src/wallet/wallet_rpc_server_commands_defs.h @@ -47,7 +47,7 @@ // advance which version they will stop working with // Don't go over 32767 for any of these #define WALLET_RPC_VERSION_MAJOR 1 -#define WALLET_RPC_VERSION_MINOR 2 +#define WALLET_RPC_VERSION_MINOR 3 #define MAKE_WALLET_RPC_VERSION(major,minor) (((major)<<16)|(minor)) #define WALLET_RPC_VERSION MAKE_WALLET_RPC_VERSION(WALLET_RPC_VERSION_MAJOR, WALLET_RPC_VERSION_MINOR) namespace tools @@ -1808,6 +1808,25 @@ namespace wallet_rpc }; }; + struct COMMAND_RPC_CHANGE_WALLET_PASSWORD + { + struct request + { + std::string old_password; + std::string new_password; + + BEGIN_KV_SERIALIZE_MAP() + KV_SERIALIZE(old_password) + KV_SERIALIZE(new_password) + END_KV_SERIALIZE_MAP() + }; + struct response + { + BEGIN_KV_SERIALIZE_MAP() + END_KV_SERIALIZE_MAP() + }; + }; + struct COMMAND_RPC_IS_MULTISIG { struct request |