31 #include <unordered_map> 40 #define BEGIN_RPC_MESSAGE_CLASS(classname) \ 44 static const char* const name; 46 #define BEGIN_RPC_MESSAGE_REQUEST \ 47 class Request : public Message \ 52 rapidjson::Value toJson(rapidjson::Document& doc) const; \ 53 void fromJson(rapidjson::Value& val); 55 #define BEGIN_RPC_MESSAGE_RESPONSE \ 56 class Response : public Message \ 61 rapidjson::Value toJson(rapidjson::Document& doc) const; \ 62 void fromJson(rapidjson::Value& val); 64 #define END_RPC_MESSAGE_REQUEST }; 65 #define END_RPC_MESSAGE_RESPONSE }; 66 #define END_RPC_MESSAGE_CLASS }; 71 #define RPC_MESSAGE_MEMBER(type, name) type name = {} 99 RPC_MESSAGE_MEMBER(std::vector<cryptonote::rpc::block_output_indices>, output_indices);
122 using txes_map = std::unordered_map<crypto::hash, transaction_info>;
std::unordered_map< crypto::hash, transaction_info > txes_map
Definition: daemon_messages.h:122
SendRawTx::Response Response
Definition: daemon_messages.h:179
END_RPC_MESSAGE_REQUEST
Definition: daemon_messages.h:82
uint64_t height
Definition: blockchain.cpp:91
Definition: message_data_structs.h:174
Definition: daemon_messages.h:131
Definition: blocks.cpp:12
Definition: daemon_messages.h:133
std::unordered_map< crypto::key_image, std::vector< crypto::hash > > key_images_with_tx_hashes
Definition: message_data_structs.h:106
Definition: daemon_messages.h:132
Holds cryptonote related classes and helpers.
Definition: db_bdb.cpp:225
BEGIN_RPC_MESSAGE_RESPONSE
Definition: daemon_messages.h:83
mdb_size_t count(MDB_cursor *cur)
Definition: value_stream.cpp:39
END_RPC_MESSAGE_RESPONSE
Definition: daemon_messages.h:85
Definition: message_data_structs.h:129
END_RPC_MESSAGE_CLASS
Definition: daemon_messages.h:86
BEGIN_RPC_MESSAGE_CLASS(GetHeight)
RPC_MESSAGE_MEMBER(uint64_t, height)
uint8_t version
Definition: blockchain.cpp:90
CXA_THROW_INFO_T * info
Definition: stack_trace.cpp:91
STATUS
Definition: daemon_messages.h:130
BEGIN_RPC_MESSAGE_REQUEST
Definition: daemon_messages.h:81
static void prune(MDB_env *env0, MDB_env *env1)
Definition: blockchain_prune.cpp:247
POD_CLASS hash
Definition: hash.h:50
Definition: cryptonote_basic.h:204