Monero
Classes | Typedefs | Functions | Variables
cryptonote::rpc::anonymous_namespace{daemon_handler.cpp} Namespace Reference

Classes

struct  handler_map
 

Typedefs

using handler_function = epee::byte_slice(DaemonHandler &handler, const rapidjson::Value &id, const rapidjson::Value &msg)
 

Functions

bool operator< (const handler_map &lhs, const handler_map &rhs) noexcept
 
bool operator< (const handler_map &lhs, const std::string &rhs) noexcept
 
template<typename Message >
epee::byte_slice handle_message (DaemonHandler &handler, const rapidjson::Value &id, const rapidjson::Value &parameters)
 

Variables

constexpr const handler_map handlers []
 

Typedef Documentation

◆ handler_function

using cryptonote::rpc::anonymous_namespace{daemon_handler.cpp}::handler_function = typedef epee::byte_slice(DaemonHandler& handler, const rapidjson::Value& id, const rapidjson::Value& msg)

Function Documentation

◆ handle_message()

template<typename Message >
epee::byte_slice cryptonote::rpc::anonymous_namespace{daemon_handler.cpp}::handle_message ( DaemonHandler handler,
const rapidjson::Value &  id,
const rapidjson::Value &  parameters 
)

◆ operator<() [1/2]

bool cryptonote::rpc::anonymous_namespace{daemon_handler.cpp}::operator< ( const handler_map lhs,
const handler_map rhs 
)
noexcept

◆ operator<() [2/2]

bool cryptonote::rpc::anonymous_namespace{daemon_handler.cpp}::operator< ( const handler_map lhs,
const std::string &  rhs 
)
noexcept

Variable Documentation

◆ handlers

constexpr const handler_map cryptonote::rpc::anonymous_namespace{daemon_handler.cpp}::handlers[]
constexpr
Initial value:
=
{
{u8"get_block_hash", handle_message<GetBlockHash>},
{u8"get_block_header_by_hash", handle_message<GetBlockHeaderByHash>},
{u8"get_block_header_by_height", handle_message<GetBlockHeaderByHeight>},
{u8"get_block_headers_by_height", handle_message<GetBlockHeadersByHeight>},
{u8"get_blocks_fast", handle_message<GetBlocksFast>},
{u8"get_dynamic_fee_estimate", handle_message<GetFeeEstimate>},
{u8"get_hashes_fast", handle_message<GetHashesFast>},
{u8"get_height", handle_message<GetHeight>},
{u8"get_info", handle_message<GetInfo>},
{u8"get_last_block_header", handle_message<GetLastBlockHeader>},
{u8"get_output_distribution", handle_message<GetOutputDistribution>},
{u8"get_output_histogram", handle_message<GetOutputHistogram>},
{u8"get_output_keys", handle_message<GetOutputKeys>},
{u8"get_peer_list", handle_message<GetPeerList>},
{u8"get_rpc_version", handle_message<GetRPCVersion>},
{u8"get_transaction_pool", handle_message<GetTransactionPool>},
{u8"get_transactions", handle_message<GetTransactions>},
{u8"get_tx_global_output_indices", handle_message<GetTxGlobalOutputIndices>},
{u8"hard_fork_info", handle_message<HardForkInfo>},
{u8"key_images_spent", handle_message<KeyImagesSpent>},
{u8"mining_status", handle_message<MiningStatus>},
{u8"save_bc", handle_message<SaveBC>},
{u8"send_raw_tx", handle_message<SendRawTx>},
{u8"send_raw_tx_hex", handle_message<SendRawTxHex>},
{u8"set_log_level", handle_message<SetLogLevel>},
{u8"start_mining", handle_message<StartMining>},
{u8"stop_mining", handle_message<StopMining>}
}