42 #include <boost/optional/optional_fwd.hpp>
47 #include "net/net_fwd.h"
50 #undef ELECTRONEUM_DEFAULT_LOG_CATEGORY
51 #define ELECTRONEUM_DEFAULT_LOG_CATEGORY "daemon"
65 ,
const boost::optional<tools::login>& user
66 ,
const epee::net_utils::ssl_options_t& ssl_options
73 bool print_peer_list(
bool white =
true,
bool gray =
true,
size_t limit = 0);
127 bool set_limit(int64_t limit_down, int64_t limit_up);
141 bool ban(
const std::string &ip, time_t seconds);
143 bool unban(
const std::string &ip);
147 bool output_histogram(
const std::vector<uint64_t> &amounts, uint64_t min_count, uint64_t max_count);
155 bool update(
const std::string &command);
157 bool relay_tx(
const std::string &txid);
173 bool sign_message(
const std::string privateKey,
const std::string message);
uint64_t height
Definition: blockchain.cpp:91
uint8_t version
Definition: blockchain.cpp:90
Definition: core_rpc_server.h:57
Definition: rpc_command_executor.h:55
bool stop_save_graph()
Definition: rpc_command_executor.cpp:1560
bool print_status()
Definition: rpc_command_executor.cpp:1336
bool print_height()
Definition: rpc_command_executor.cpp:792
bool set_limit(int64_t limit_down, int64_t limit_up)
Definition: rpc_command_executor.cpp:1384
bool check_blockchain_pruning()
Definition: rpc_command_executor.cpp:2242
bool get_limit_up()
Definition: rpc_command_executor.cpp:1415
bool ban(const std::string &ip, time_t seconds)
Definition: rpc_command_executor.cpp:1651
bool is_key_image_spent(const crypto::key_image &ki)
Definition: rpc_command_executor.cpp:981
bool hide_hash_rate()
Definition: rpc_command_executor.cpp:289
bool print_transaction_pool_stats()
Definition: rpc_command_executor.cpp:1154
bool output_histogram(const std::vector< uint64_t > &amounts, uint64_t min_count, uint64_t max_count)
Definition: rpc_command_executor.cpp:1753
bool print_block_by_height(uint64_t height, bool include_hex)
Definition: rpc_command_executor.cpp:853
bool get_limit()
Definition: rpc_command_executor.cpp:1356
bool show_difficulty()
Definition: rpc_command_executor.cpp:317
bool prune_blockchain()
Definition: rpc_command_executor.cpp:2213
bool print_transaction(crypto::hash transaction_hash, bool include_hex, bool include_json)
Definition: rpc_command_executor.cpp:887
bool print_transaction_pool_short()
Definition: rpc_command_executor.cpp:1103
cryptonote::core_rpc_server * m_rpc_server
Definition: rpc_command_executor.h:58
bool get_limit_down()
Definition: rpc_command_executor.cpp:1442
bool print_blockchain_info(uint64_t start_block_index, uint64_t end_block_index)
Definition: rpc_command_executor.cpp:692
bool hard_fork_info(uint8_t version)
Definition: rpc_command_executor.cpp:1586
bool print_connections()
Definition: rpc_command_executor.cpp:568
bool print_peer_list_stats()
Definition: rpc_command_executor.cpp:207
bool show_hash_rate()
Definition: rpc_command_executor.cpp:262
bool alt_chain_info(const std::string &tip)
Definition: rpc_command_executor.cpp:1827
bool set_validator_key(const std::string &key)
Definition: rpc_command_executor.cpp:2189
bool show_status()
Definition: rpc_command_executor.cpp:389
t_rpc_command_executor(uint32_t ip, uint16_t port, const boost::optional< tools::login > &user, const epee::net_utils::ssl_options_t &ssl_options, bool is_rpc=true, cryptonote::core_rpc_server *rpc_server=NULL)
Definition: rpc_command_executor.cpp:127
bool stop_daemon()
Definition: rpc_command_executor.cpp:1294
bool print_bans()
Definition: rpc_command_executor.cpp:1619
bool sign_message(const std::string privateKey, const std::string message)
Definition: rpc_command_executor.cpp:2301
bool print_transaction_pool_long()
Definition: rpc_command_executor.cpp:1017
bool generate_ed25519_keypair()
Definition: rpc_command_executor.cpp:2278
bool print_blockchain_dynamic_stats(uint64_t nblocks)
Definition: rpc_command_executor.cpp:1892
bool set_log_level(int8_t level)
Definition: rpc_command_executor.cpp:736
bool in_peers(uint64_t limit)
Definition: rpc_command_executor.cpp:1501
bool start_mining(cryptonote::account_public_address address, uint64_t num_threads, cryptonote::network_type nettype, bool do_background_mining=false, bool ignore_battery=false)
Definition: rpc_command_executor.cpp:1239
bool start_save_graph()
Definition: rpc_command_executor.cpp:1533
bool unban(const std::string &ip)
Definition: rpc_command_executor.cpp:1687
bool print_coinbase_tx_sum(uint64_t height, uint64_t count)
Definition: rpc_command_executor.cpp:1792
bool print_peer_list(bool white=true, bool gray=true, size_t limit=0)
Definition: rpc_command_executor.cpp:163
bool pop_blocks(uint64_t num_blocks)
Definition: rpc_command_executor.cpp:2162
bool mining_status()
Definition: rpc_command_executor.cpp:492
bool m_is_rpc
Definition: rpc_command_executor.h:59
bool update(const std::string &command)
Definition: rpc_command_executor.cpp:2013
bool sync_info()
Definition: rpc_command_executor.cpp:2094
bool print_net_stats()
Definition: rpc_command_executor.cpp:632
bool set_log_categories(const std::string &categories)
Definition: rpc_command_executor.cpp:764
bool flush_txpool(const std::string &txid)
Definition: rpc_command_executor.cpp:1723
bool relay_tx(const std::string &txid)
Definition: rpc_command_executor.cpp:2065
bool save_blockchain()
Definition: rpc_command_executor.cpp:235
bool out_peers(uint64_t limit)
Definition: rpc_command_executor.cpp:1469
bool stop_mining()
Definition: rpc_command_executor.cpp:1268
tools::t_rpc_client * m_rpc_client
Definition: rpc_command_executor.h:57
bool print_block_by_hash(crypto::hash block_hash, bool include_hex)
Definition: rpc_command_executor.cpp:819
~t_rpc_command_executor()
Definition: rpc_command_executor.cpp:155
POD_CLASS key_image
Definition: crypto.h:102
POD_CLASS hash
Definition: hash.h:50
network_type
Definition: cryptonote_config.h:243
Definition: command_parser_executor.cpp:38
mdb_size_t count(MDB_cursor *cur)
Definition: value_stream.cpp:39
Definition: cryptonote_basic.h:453