32#include <unordered_map>
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 = {}
124 using txes_map = std::unordered_map<crypto::hash, transaction_info>;
Definition cryptonote_basic.h:307
std::tuple< uint64_t, uint64_t, std::vector< tools::wallet2::transfer_details > > outputs
Definition cold-outputs.cpp:53
#define BEGIN_RPC_MESSAGE_REQUEST
Definition daemon_messages.h:47
POD_CLASS hash
Definition hash.h:49
END_RPC_MESSAGE_CLASS
Definition daemon_messages.h:87
SendRawTx::Response Response
Definition daemon_messages.h:181
END_RPC_MESSAGE_REQUEST
Definition daemon_messages.h:83
BEGIN_RPC_MESSAGE_RESPONSE
Definition daemon_messages.h:84
RPC_MESSAGE_MEMBER(uint64_t, height)
BEGIN_RPC_MESSAGE_REQUEST
Definition daemon_messages.h:82
END_RPC_MESSAGE_RESPONSE
Definition daemon_messages.h:86
std::unordered_map< crypto::key_image, std::vector< crypto::hash > > key_images_with_tx_hashes
Definition message_data_structs.h:107
STATUS
Definition daemon_messages.h:132
@ SPENT_IN_POOL
Definition daemon_messages.h:135
@ SPENT_IN_BLOCKCHAIN
Definition daemon_messages.h:134
@ UNSPENT
Definition daemon_messages.h:133
BEGIN_RPC_MESSAGE_CLASS(GetHeight)
std::unordered_map< crypto::hash, transaction_info > txes_map
Definition daemon_messages.h:124
Holds cryptonote related classes and helpers.
Definition blockchain_db.cpp:45
CXA_THROW_INFO_T * info
Definition stack_trace.cpp:91
unsigned int uint32_t
Definition stdint.h:126
unsigned char uint8_t
Definition stdint.h:124
unsigned __int64 uint64_t
Definition stdint.h:136
signed char int8_t
Definition stdint.h:121
Definition message_data_structs.h:176
Definition message_data_structs.h:131
struct hash_func hashes[]
cryptonote::transaction tx
Definition transaction.cpp:40