31 #include <rapidjson/writer.h> 32 #include <unordered_map> 35 #include "byte_stream.h" 42 #define BEGIN_RPC_MESSAGE_CLASS(classname) \ 47 #define BEGIN_RPC_MESSAGE_REQUEST \ 48 class Request final : public Message \ 53 void doToJson(rapidjson::Writer<epee::byte_stream>& dest) const override final; \ 54 void fromJson(const rapidjson::Value& val) override final; 56 #define BEGIN_RPC_MESSAGE_RESPONSE \ 57 class Response final : public Message \ 62 void doToJson(rapidjson::Writer<epee::byte_stream>& dest) const override final; \ 63 void fromJson(const rapidjson::Value& val) override final; 65 #define END_RPC_MESSAGE_REQUEST }; 66 #define END_RPC_MESSAGE_RESPONSE }; 67 #define END_RPC_MESSAGE_CLASS }; 72 #define RPC_MESSAGE_MEMBER(type, name) type name = {} 100 RPC_MESSAGE_MEMBER(std::vector<cryptonote::rpc::block_output_indices>, output_indices);
123 using txes_map = std::unordered_map<crypto::hash, transaction_info>;
std::unordered_map< crypto::hash, transaction_info > txes_map
Definition: daemon_messages.h:123
SendRawTx::Response Response
Definition: daemon_messages.h:180
END_RPC_MESSAGE_REQUEST
Definition: daemon_messages.h:83
Definition: message_data_structs.h:175
Definition: daemon_messages.h:132
Definition: blocks.cpp:12
Definition: daemon_messages.h:134
std::unordered_map< crypto::key_image, std::vector< crypto::hash > > key_images_with_tx_hashes
Definition: message_data_structs.h:107
Definition: daemon_messages.h:133
Holds cryptonote related classes and helpers.
Definition: blockchain_db.cpp:44
BEGIN_RPC_MESSAGE_RESPONSE
Definition: daemon_messages.h:84
mdb_size_t count(MDB_cursor *cur)
Definition: value_stream.cpp:39
END_RPC_MESSAGE_RESPONSE
Definition: daemon_messages.h:86
Definition: message_data_structs.h:130
END_RPC_MESSAGE_CLASS
Definition: daemon_messages.h:87
BEGIN_RPC_MESSAGE_CLASS(GetHeight)
RPC_MESSAGE_MEMBER(uint64_t, height)
version
Supported socks variants.
Definition: socks.h:57
CXA_THROW_INFO_T * info
Definition: stack_trace.cpp:90
STATUS
Definition: daemon_messages.h:131
BEGIN_RPC_MESSAGE_REQUEST
Definition: daemon_messages.h:82
static void prune(MDB_env *env0, MDB_env *env1)
Definition: blockchain_prune.cpp:246
POD_CLASS hash
Definition: hash.h:48
Definition: cryptonote_basic.h:193