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 = {}
122 using txes_map = std::unordered_map<crypto::hash, transaction_info>;
BEGIN_RPC_MESSAGE_RESPONSE
SendRawTx::Response Response
RPC_MESSAGE_MEMBER(uint64_t, height)
BEGIN_RPC_MESSAGE_REQUEST
std::unordered_map< crypto::key_image, std::vector< crypto::hash > > key_images_with_tx_hashes
BEGIN_RPC_MESSAGE_CLASS(GetHeight)
std::unordered_map< crypto::hash, transaction_info > txes_map
Holds cryptonote related classes and helpers.
mdb_size_t count(MDB_cursor *cur)
version
Supported socks variants.
unsigned __int64 uint64_t
struct hash_func hashes[]