diff options
author | Alexander Blair <snipa@jagtech.io> | 2020-02-06 00:26:34 -0800 |
---|---|---|
committer | Alexander Blair <snipa@jagtech.io> | 2020-02-06 00:26:34 -0800 |
commit | 9658f5d7fcd27c9804b361e9d80d2c9f550e8d4b (patch) | |
tree | 339f84f72ed4d6f9a76a2c70cf8f4c220e084919 | |
parent | Merge pull request #6035 (diff) | |
parent | rpc: base flush_cache request/response on the new base structs (diff) | |
download | monero-9658f5d7fcd27c9804b361e9d80d2c9f550e8d4b.tar.xz |
Merge pull request #6040
2f8f3a94 rpc: base flush_cache request/response on the new base structs (moneromooo-monero)
-rw-r--r-- | src/rpc/core_rpc_server_commands_defs.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/rpc/core_rpc_server_commands_defs.h b/src/rpc/core_rpc_server_commands_defs.h index c76880ab9..12b042c7e 100644 --- a/src/rpc/core_rpc_server_commands_defs.h +++ b/src/rpc/core_rpc_server_commands_defs.h @@ -2558,22 +2558,21 @@ namespace cryptonote struct COMMAND_RPC_FLUSH_CACHE { - struct request_t + struct request_t: public rpc_request_base { bool bad_txs; BEGIN_KV_SERIALIZE_MAP() + KV_SERIALIZE_PARENT(rpc_request_base) KV_SERIALIZE_OPT(bad_txs, false) END_KV_SERIALIZE_MAP() }; typedef epee::misc_utils::struct_init<request_t> request; - struct response_t + struct response_t: public rpc_response_base { - std::string status; - BEGIN_KV_SERIALIZE_MAP() - KV_SERIALIZE(status) + KV_SERIALIZE_PARENT(rpc_response_base) END_KV_SERIALIZE_MAP() }; typedef epee::misc_utils::struct_init<response_t> response; |