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 = {} 100 RPC_MESSAGE_MEMBER(std::vector<cryptonote::rpc::block_output_indices>, output_indices);
124 using txes_map = std::unordered_map<crypto::hash, transaction_info>;
std::unordered_map< crypto::hash, transaction_info > txes_map
Definition: daemon_messages.h:124
int * count
Definition: gmock_stress_test.cc:176
SendRawTx::Response Response
Definition: daemon_messages.h:181
::std::string string
Definition: gtest-port.h:1097
END_RPC_MESSAGE_REQUEST
Definition: daemon_messages.h:83
Definition: message_data_structs.h:175
std::tuple< uint64_t, uint64_t, std::vector< tools::wallet2::transfer_details > > outputs
Definition: cold-outputs.cpp:53
Definition: daemon_messages.h:133
Definition: blocks.cpp:12
unsigned char uint8_t
Definition: stdint.h:124
struct hash_func hashes[]
Definition: daemon_messages.h:135
std::unordered_map< crypto::key_image, std::vector< crypto::hash > > key_images_with_tx_hashes
Definition: message_data_structs.h:107
Definition: daemon_messages.h:134
Holds cryptonote related classes and helpers.
Definition: blockchain_db.cpp:44
BEGIN_RPC_MESSAGE_RESPONSE
Definition: daemon_messages.h:84
END_RPC_MESSAGE_RESPONSE
Definition: daemon_messages.h:86
Definition: message_data_structs.h:130
rpc
Definition: console.py:53
unsigned int uint32_t
Definition: stdint.h:126
END_RPC_MESSAGE_CLASS
Definition: daemon_messages.h:87
BEGIN_RPC_MESSAGE_CLASS(GetHeight)
unsigned __int64 uint64_t
Definition: stdint.h:136
signed char int8_t
Definition: stdint.h:121
RPC_MESSAGE_MEMBER(uint64_t, height)
static MDB_envinfo info
Definition: mdb_load.c:37
version
Supported socks variants.
Definition: socks.h:57
STATUS
Definition: daemon_messages.h:132
BEGIN_RPC_MESSAGE_REQUEST
Definition: daemon_messages.h:82
uint32_t address
Definition: getifaddr.c:269
static void prune(MDB_env *env0, MDB_env *env1)
Definition: blockchain_prune.cpp:249
cryptonote::transaction tx
Definition: transaction.cpp:40
epee::byte_slice active
Definition: levin_notify.cpp:257
static boost::multiprecision::uint128_t fees
Definition: blockchain_stats.cpp:58
POD_CLASS hash
Definition: hash.h:49
Definition: cryptonote_basic.h:204