57 void handle(
const GetHeight::Request& req, GetHeight::Response& res);
59 void handle(
const GetBlocksFast::Request& req, GetBlocksFast::Response& res);
61 void handle(
const GetHashesFast::Request& req, GetHashesFast::Response& res);
63 void handle(
const GetTransactions::Request& req, GetTransactions::Response& res);
65 void handle(
const KeyImagesSpent::Request& req, KeyImagesSpent::Response& res);
67 void handle(
const GetTxGlobalOutputIndices::Request& req, GetTxGlobalOutputIndices::Response& res);
69 void handle(
const SendRawTx::Request& req, SendRawTx::Response& res);
71 void handle(
const StartMining::Request& req, StartMining::Response& res);
73 void handle(
const GetInfo::Request& req, GetInfo::Response& res);
75 void handle(
const StopMining::Request& req, StopMining::Response& res);
77 void handle(
const MiningStatus::Request& req, MiningStatus::Response& res);
79 void handle(
const SaveBC::Request& req, SaveBC::Response& res);
81 void handle(
const GetBlockHash::Request& req, GetBlockHash::Response& res);
83 void handle(
const GetBlockTemplate::Request& req, GetBlockTemplate::Response& res);
85 void handle(
const SubmitBlock::Request& req, SubmitBlock::Response& res);
87 void handle(
const GetLastBlockHeader::Request& req, GetLastBlockHeader::Response& res);
89 void handle(
const GetBlockHeaderByHash::Request& req, GetBlockHeaderByHash::Response& res);
91 void handle(
const GetBlockHeaderByHeight::Request& req, GetBlockHeaderByHeight::Response& res);
93 void handle(
const GetBlockHeadersByHeight::Request& req, GetBlockHeadersByHeight::Response& res);
95 void handle(
const GetBlock::Request& req, GetBlock::Response& res);
97 void handle(
const GetPeerList::Request& req, GetPeerList::Response& res);
99 void handle(
const SetLogHashRate::Request& req, SetLogHashRate::Response& res);
101 void handle(
const SetLogLevel::Request& req, SetLogLevel::Response& res);
103 void handle(
const GetTransactionPool::Request& req, GetTransactionPool::Response& res);
105 void handle(
const GetConnections::Request& req, GetConnections::Response& res);
107 void handle(
const GetBlockHeadersRange::Request& req, GetBlockHeadersRange::Response& res);
109 void handle(
const StopDaemon::Request& req, StopDaemon::Response& res);
111 void handle(
const StartSaveGraph::Request& req, StartSaveGraph::Response& res);
113 void handle(
const StopSaveGraph::Request& req, StopSaveGraph::Response& res);
115 void handle(
const HardForkInfo::Request& req, HardForkInfo::Response& res);
117 void handle(
const GetBans::Request& req, GetBans::Response& res);
119 void handle(
const SetBans::Request& req, SetBans::Response& res);
121 void handle(
const FlushTransactionPool::Request& req, FlushTransactionPool::Response& res);
123 void handle(
const GetOutputHistogram::Request& req, GetOutputHistogram::Response& res);
125 void handle(
const GetOutputKeys::Request& req, GetOutputKeys::Response& res);
127 void handle(
const GetRPCVersion::Request& req, GetRPCVersion::Response& res);
129 void handle(
const GetPerKBFeeEstimate::Request& req, GetPerKBFeeEstimate::Response& res);
131 std::string
handle(
const std::string& request);
cryptonote::core & m_core
Definition: daemon_handler.h:137
Definition: rpc_handler.h:40
nodetool::node_server< cryptonote::t_cryptonote_protocol_handler< cryptonote::core > > t_p2p
Definition: daemon_handler.h:40
Holds cryptonote related classes and helpers.
Definition: db_bdb.cpp:224
bool getBlockHeaderByHash(const crypto::hash &hash_in, cryptonote::rpc::BlockHeaderResponse &response)
Definition: daemon_handler.cpp:733
t_p2p & m_p2p
Definition: daemon_handler.h:138
void handle(const GetHeight::Request &req, GetHeight::Response &res)
Definition: daemon_handler.cpp:44
~DaemonHandler()
Definition: daemon_handler.h:55
handles core cryptonote functionality
Definition: cryptonote_core.h:78
This is the original cryptonote protocol network-events handler, modified by us.
Definition: daemon_handler.h:49
POD_CLASS hash
Definition: hash.h:49
DaemonHandler(cryptonote::core &c, t_p2p &p2p)
Definition: daemon_handler.h:53