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