aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server_commands_defs.h
diff options
context:
space:
mode:
authorJoel <joel@truelevel.io>2019-02-21 15:49:32 +0100
committerJoel <joel@truelevel.io>2019-02-21 15:49:32 +0100
commitc17c81881b240c389875bf2652b2f3a5d95aa1ab (patch)
treec95368d5d3df3667d0c623e344276bb0f6499209 /src/wallet/wallet_rpc_server_commands_defs.h
parentAdd generate_from_view_key RPC method (diff)
downloadmonero-c17c81881b240c389875bf2652b2f3a5d95aa1ab.tar.xz
Remove code duplication
Diffstat (limited to 'src/wallet/wallet_rpc_server_commands_defs.h')
-rw-r--r--src/wallet/wallet_rpc_server_commands_defs.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/wallet/wallet_rpc_server_commands_defs.h b/src/wallet/wallet_rpc_server_commands_defs.h
index 8dd13322f..8c46121e4 100644
--- a/src/wallet/wallet_rpc_server_commands_defs.h
+++ b/src/wallet/wallet_rpc_server_commands_defs.h
@@ -1934,37 +1934,6 @@ namespace wallet_rpc
};
};
- struct COMMAND_RPC_GENERATE_FROM_VIEW_KEY
- {
- struct request
- {
- uint64_t restore_height;
- std::string filename;
- std::string address;
- std::string viewkey;
- std::string password;
-
- BEGIN_KV_SERIALIZE_MAP()
- KV_SERIALIZE_OPT(restore_height, (uint64_t)0)
- KV_SERIALIZE(filename)
- KV_SERIALIZE(address)
- KV_SERIALIZE(viewkey)
- KV_SERIALIZE(password)
- END_KV_SERIALIZE_MAP()
- };
-
- struct response
- {
- std::string address;
- std::string info;
-
- BEGIN_KV_SERIALIZE_MAP()
- KV_SERIALIZE(address)
- KV_SERIALIZE(info)
- END_KV_SERIALIZE_MAP()
- };
- };
-
struct COMMAND_RPC_GENERATE_FROM_KEYS
{
struct request