diff options
author | Guillaume LE VAILLANT <glv@posteo.net> | 2018-09-05 16:38:26 +0200 |
---|---|---|
committer | Guillaume LE VAILLANT <glv@posteo.net> | 2018-09-05 16:52:16 +0200 |
commit | 54b859bea5ad2b98d9db0b4e1e26e69a7bc7130c (patch) | |
tree | 2f3b125fcf37ba5a70cc8ab20d51eb36a46c1f7b /src/wallet/wallet_rpc_server_commands_defs.h | |
parent | Merge pull request #4290 (diff) | |
download | monero-54b859bea5ad2b98d9db0b4e1e26e69a7bc7130c.tar.xz |
wallet rpc: Add close_wallet RPC
And close the current wallet automatically if necessary when opening another
wallet.
Diffstat (limited to 'src/wallet/wallet_rpc_server_commands_defs.h')
-rw-r--r-- | src/wallet/wallet_rpc_server_commands_defs.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server_commands_defs.h b/src/wallet/wallet_rpc_server_commands_defs.h index 62fb98ebb..2d0f8c659 100644 --- a/src/wallet/wallet_rpc_server_commands_defs.h +++ b/src/wallet/wallet_rpc_server_commands_defs.h @@ -1829,6 +1829,21 @@ namespace wallet_rpc }; }; + struct COMMAND_RPC_CLOSE_WALLET + { + struct request + { + BEGIN_KV_SERIALIZE_MAP() + END_KV_SERIALIZE_MAP() + }; + + struct response + { + BEGIN_KV_SERIALIZE_MAP() + END_KV_SERIALIZE_MAP() + }; + }; + struct COMMAND_RPC_CHANGE_WALLET_PASSWORD { struct request |