|
Monero
|
#include <rpc_command_executor.h>

Public Member Functions | |
| 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) | |
| ~t_rpc_command_executor () | |
| bool | print_peer_list (bool white=true, bool gray=true, size_t limit=0, bool pruned_only=false, bool publicrpc_only=false) |
| bool | print_peer_list_stats () |
| bool | save_blockchain () |
| bool | show_hash_rate () |
| bool | hide_hash_rate () |
| bool | show_difficulty () |
| bool | show_status () |
| bool | print_connections () |
| bool | print_blockchain_info (int64_t start_block_index, uint64_t end_block_index) |
| bool | set_log_level (int8_t level) |
| bool | set_log_categories (const std::string &categories) |
| bool | print_height () |
| bool | print_block_by_hash (crypto::hash block_hash, bool include_hex) |
| bool | print_block_by_height (uint64_t height, bool include_hex) |
| bool | print_transaction (crypto::hash transaction_hash, bool include_metadata, bool include_hex, bool include_json) |
| bool | is_key_image_spent (const crypto::key_image &ki) |
| bool | print_transaction_pool_long () |
| bool | print_transaction_pool_short () |
| bool | print_transaction_pool_stats () |
| 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) |
| bool | stop_mining () |
| bool | mining_status () |
| bool | stop_daemon () |
| bool | print_status () |
| bool | get_limit () |
| bool | get_limit_up () |
| bool | get_limit_down () |
| bool | set_limit (int64_t limit_down, int64_t limit_up) |
| bool | out_peers (bool set, uint32_t limit) |
| bool | in_peers (bool set, uint32_t limit) |
| bool | hard_fork_info (uint8_t version) |
| bool | print_bans () |
| bool | ban (const std::string &address, time_t seconds) |
| bool | unban (const std::string &address) |
| bool | banned (const std::string &address) |
| bool | flush_txpool (const std::string &txid) |
| bool | output_histogram (const std::vector< uint64_t > &amounts, uint64_t min_count, uint64_t max_count) |
| bool | print_coinbase_tx_sum (uint64_t height, uint64_t count) |
| bool | alt_chain_info (const std::string &tip, size_t above, uint64_t last_blocks) |
| bool | print_blockchain_dynamic_stats (uint64_t nblocks) |
| bool | update (const std::string &command) |
| bool | relay_tx (const std::string &txid) |
| bool | sync_info () |
| bool | pop_blocks (uint64_t num_blocks) |
| bool | prune_blockchain () |
| bool | check_blockchain_pruning () |
| bool | print_net_stats () |
| bool | version () |
| bool | set_bootstrap_daemon (const std::string &address, const std::string &username, const std::string &password, const std::string &proxy) |
| bool | rpc_payments () |
| bool | flush_cache (bool invalid_blocks) |
Private Attributes | |
| tools::t_rpc_client * | m_rpc_client |
| cryptonote::core_rpc_server * | m_rpc_server |
| bool | m_is_rpc |
| daemonize::t_rpc_command_executor::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 ) |
| daemonize::t_rpc_command_executor::~t_rpc_command_executor | ( | ) |
| bool daemonize::t_rpc_command_executor::alt_chain_info | ( | const std::string & | tip, |
| size_t | above, | ||
| uint64_t | last_blocks ) |
| bool daemonize::t_rpc_command_executor::ban | ( | const std::string & | address, |
| time_t | seconds ) |
| bool daemonize::t_rpc_command_executor::banned | ( | const std::string & | address | ) |
| bool daemonize::t_rpc_command_executor::check_blockchain_pruning | ( | ) |
| bool daemonize::t_rpc_command_executor::flush_cache | ( | bool | invalid_blocks | ) |
| bool daemonize::t_rpc_command_executor::flush_txpool | ( | const std::string & | txid | ) |
| bool daemonize::t_rpc_command_executor::get_limit | ( | ) |
| bool daemonize::t_rpc_command_executor::get_limit_down | ( | ) |
| bool daemonize::t_rpc_command_executor::get_limit_up | ( | ) |
| bool daemonize::t_rpc_command_executor::hard_fork_info | ( | uint8_t | version | ) |
| bool daemonize::t_rpc_command_executor::hide_hash_rate | ( | ) |
| bool daemonize::t_rpc_command_executor::in_peers | ( | bool | set, |
| uint32_t | limit ) |
| bool daemonize::t_rpc_command_executor::is_key_image_spent | ( | const crypto::key_image & | ki | ) |
| bool daemonize::t_rpc_command_executor::mining_status | ( | ) |
| bool daemonize::t_rpc_command_executor::out_peers | ( | bool | set, |
| uint32_t | limit ) |
| bool daemonize::t_rpc_command_executor::output_histogram | ( | const std::vector< uint64_t > & | amounts, |
| uint64_t | min_count, | ||
| uint64_t | max_count ) |
| bool daemonize::t_rpc_command_executor::pop_blocks | ( | uint64_t | num_blocks | ) |
| bool daemonize::t_rpc_command_executor::print_bans | ( | ) |
| bool daemonize::t_rpc_command_executor::print_block_by_hash | ( | crypto::hash | block_hash, |
| bool | include_hex ) |
| bool daemonize::t_rpc_command_executor::print_block_by_height | ( | uint64_t | height, |
| bool | include_hex ) |
| bool daemonize::t_rpc_command_executor::print_blockchain_dynamic_stats | ( | uint64_t | nblocks | ) |
| bool daemonize::t_rpc_command_executor::print_blockchain_info | ( | int64_t | start_block_index, |
| uint64_t | end_block_index ) |
| bool daemonize::t_rpc_command_executor::print_connections | ( | ) |
| bool daemonize::t_rpc_command_executor::print_height | ( | ) |
| bool daemonize::t_rpc_command_executor::print_net_stats | ( | ) |
| bool daemonize::t_rpc_command_executor::print_peer_list | ( | bool | white = true, |
| bool | gray = true, | ||
| size_t | limit = 0, | ||
| bool | pruned_only = false, | ||
| bool | publicrpc_only = false ) |
| bool daemonize::t_rpc_command_executor::print_peer_list_stats | ( | ) |
| bool daemonize::t_rpc_command_executor::print_status | ( | ) |
| bool daemonize::t_rpc_command_executor::print_transaction | ( | crypto::hash | transaction_hash, |
| bool | include_metadata, | ||
| bool | include_hex, | ||
| bool | include_json ) |
| bool daemonize::t_rpc_command_executor::print_transaction_pool_long | ( | ) |
| bool daemonize::t_rpc_command_executor::print_transaction_pool_short | ( | ) |
| bool daemonize::t_rpc_command_executor::print_transaction_pool_stats | ( | ) |
| bool daemonize::t_rpc_command_executor::prune_blockchain | ( | ) |
| bool daemonize::t_rpc_command_executor::relay_tx | ( | const std::string & | txid | ) |
| bool daemonize::t_rpc_command_executor::rpc_payments | ( | ) |
| bool daemonize::t_rpc_command_executor::save_blockchain | ( | ) |
| bool daemonize::t_rpc_command_executor::set_bootstrap_daemon | ( | const std::string & | address, |
| const std::string & | username, | ||
| const std::string & | password, | ||
| const std::string & | proxy ) |
| bool daemonize::t_rpc_command_executor::set_log_categories | ( | const std::string & | categories | ) |
| bool daemonize::t_rpc_command_executor::set_log_level | ( | int8_t | level | ) |
| bool daemonize::t_rpc_command_executor::show_difficulty | ( | ) |
| bool daemonize::t_rpc_command_executor::show_hash_rate | ( | ) |
| bool daemonize::t_rpc_command_executor::show_status | ( | ) |
| bool daemonize::t_rpc_command_executor::start_mining | ( | cryptonote::account_public_address | address, |
| uint64_t | num_threads, | ||
| cryptonote::network_type | nettype, | ||
| bool | do_background_mining = false, | ||
| bool | ignore_battery = false ) |
| bool daemonize::t_rpc_command_executor::stop_daemon | ( | ) |
| bool daemonize::t_rpc_command_executor::stop_mining | ( | ) |
| bool daemonize::t_rpc_command_executor::sync_info | ( | ) |
| bool daemonize::t_rpc_command_executor::unban | ( | const std::string & | address | ) |
| bool daemonize::t_rpc_command_executor::update | ( | const std::string & | command | ) |
| bool daemonize::t_rpc_command_executor::version | ( | ) |
|
private |
|
private |
|
private |