37 #define BEGIN_RPC_MESSAGE_CLASS(classname) \ 41 static const char* const name; 43 #define BEGIN_RPC_MESSAGE_REQUEST \ 44 class Request : public Message \ 49 rapidjson::Value toJson(rapidjson::Document& doc) const; \ 50 void fromJson(rapidjson::Value& val); 52 #define BEGIN_RPC_MESSAGE_RESPONSE \ 53 class Response : public Message \ 58 rapidjson::Value toJson(rapidjson::Document& doc) const; \ 59 void fromJson(rapidjson::Value& val); 61 #define END_RPC_MESSAGE_REQUEST }; 62 #define END_RPC_MESSAGE_RESPONSE }; 63 #define END_RPC_MESSAGE_CLASS }; 70 #define RPC_MESSAGE_MEMBER(type, name) type name; 98 RPC_MESSAGE_MEMBER(std::vector<cryptonote::rpc::block_output_indices>, output_indices);
END_RPC_MESSAGE_REQUEST
Definition: daemon_messages.h:81
uint64_t height
Definition: blockchain.cpp:88
Definition: daemon_messages.h:129
Definition: daemon_messages.h:131
std::unordered_map< crypto::key_image, std::vector< crypto::hash > > key_images_with_tx_hashes
Definition: message_data_structs.h:102
Definition: daemon_messages.h:130
Holds cryptonote related classes and helpers.
Definition: db_bdb.cpp:224
BEGIN_RPC_MESSAGE_RESPONSE
Definition: daemon_messages.h:82
END_RPC_MESSAGE_RESPONSE
Definition: daemon_messages.h:84
END_RPC_MESSAGE_CLASS
Definition: daemon_messages.h:85
BEGIN_RPC_MESSAGE_CLASS(GetHeight)
RPC_MESSAGE_MEMBER(uint64_t, height)
Definition: message_data_structs.h:54
uint8_t version
Definition: blockchain.cpp:87
CXA_THROW_INFO_T * info
Definition: stack_trace.cpp:90
#define blocks
Definition: sha512-hash.c:11
STATUS
Definition: daemon_messages.h:128
BEGIN_RPC_MESSAGE_REQUEST
Definition: daemon_messages.h:80
#define COMMA()
Definition: daemon_messages.h:65
POD_CLASS hash
Definition: hash.h:49
Definition: cryptonote_basic.h:182