|
Electroneum
|
#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 | 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 (uint64_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_hex, bool include_json) |
| bool | is_key_image_spent (const crypto::key_image &ki) |
| bool | is_public_output_spent (const cryptonote::txin_to_key_public &txin) |
| 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 (uint64_t limit) |
| bool | in_peers (uint64_t limit) |
| bool | start_save_graph () |
| bool | stop_save_graph () |
| bool | hard_fork_info (uint8_t version) |
| bool | print_bans () |
| bool | ban (const std::string &ip, time_t seconds) |
| bool | unban (const std::string &ip) |
| 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) |
| 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 | set_validator_key (const std::string &key) |
| bool | generate_ed25519_keypair () |
| bool | sign_message (const std::string privateKey, const std::string message) |
Definition at line 55 of file rpc_command_executor.h.
| 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 ) |
Definition at line 127 of file rpc_command_executor.cpp.
| daemonize::t_rpc_command_executor::~t_rpc_command_executor | ( | ) |
Definition at line 155 of file rpc_command_executor.cpp.
| bool daemonize::t_rpc_command_executor::alt_chain_info | ( | const std::string & | tip | ) |
Definition at line 1865 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::ban | ( | const std::string & | ip, |
| time_t | seconds ) |
Definition at line 1689 of file rpc_command_executor.cpp.


| bool daemonize::t_rpc_command_executor::check_blockchain_pruning | ( | ) |
Definition at line 2280 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::flush_txpool | ( | const std::string & | txid | ) |
Definition at line 1761 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::generate_ed25519_keypair | ( | ) |
Definition at line 2316 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::get_limit | ( | ) |
Definition at line 1394 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::get_limit_down | ( | ) |
Definition at line 1480 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::get_limit_up | ( | ) |
Definition at line 1453 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::hard_fork_info | ( | uint8_t | version | ) |
Definition at line 1624 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::hide_hash_rate | ( | ) |
Definition at line 289 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::in_peers | ( | uint64_t | limit | ) |
Definition at line 1539 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::is_key_image_spent | ( | const crypto::key_image & | ki | ) |
Definition at line 981 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::is_public_output_spent | ( | const cryptonote::txin_to_key_public & | txin | ) |
Definition at line 1017 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::mining_status | ( | ) |
Definition at line 492 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::out_peers | ( | uint64_t | limit | ) |
Definition at line 1507 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::output_histogram | ( | const std::vector< uint64_t > & | amounts, |
| uint64_t | min_count, | ||
| uint64_t | max_count ) |
Definition at line 1791 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::pop_blocks | ( | uint64_t | num_blocks | ) |
Definition at line 2200 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::print_bans | ( | ) |
Definition at line 1657 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::print_block_by_hash | ( | crypto::hash | block_hash, |
| bool | include_hex ) |
Definition at line 819 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::print_block_by_height | ( | uint64_t | height, |
| bool | include_hex ) |
Definition at line 853 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::print_blockchain_dynamic_stats | ( | uint64_t | nblocks | ) |
Definition at line 1930 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::print_blockchain_info | ( | uint64_t | start_block_index, |
| uint64_t | end_block_index ) |
Definition at line 692 of file rpc_command_executor.cpp.

Definition at line 1830 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::print_connections | ( | ) |
Definition at line 568 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::print_height | ( | ) |
Definition at line 792 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::print_net_stats | ( | ) |
Definition at line 632 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::print_peer_list | ( | bool | white = true, |
| bool | gray = true, | ||
| size_t | limit = 0 ) |
Definition at line 163 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::print_peer_list_stats | ( | ) |
Definition at line 207 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::print_status | ( | ) |
Definition at line 1374 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::print_transaction | ( | crypto::hash | transaction_hash, |
| bool | include_hex, | ||
| bool | include_json ) |
Definition at line 887 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::print_transaction_pool_long | ( | ) |
Definition at line 1057 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::print_transaction_pool_short | ( | ) |
Definition at line 1140 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::print_transaction_pool_stats | ( | ) |
Definition at line 1192 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::prune_blockchain | ( | ) |
Definition at line 2251 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::relay_tx | ( | const std::string & | txid | ) |
Definition at line 2103 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::save_blockchain | ( | ) |
Definition at line 235 of file rpc_command_executor.cpp.

Definition at line 1422 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::set_log_categories | ( | const std::string & | categories | ) |
Definition at line 764 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::set_log_level | ( | int8_t | level | ) |
Definition at line 736 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::set_validator_key | ( | const std::string & | key | ) |
Definition at line 2227 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::show_difficulty | ( | ) |
Definition at line 317 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::show_hash_rate | ( | ) |
Definition at line 262 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::show_status | ( | ) |
Definition at line 389 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::sign_message | ( | const std::string | privateKey, |
| const std::string | message ) |
Definition at line 2339 of file rpc_command_executor.cpp.

| 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 ) |
Definition at line 1277 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::start_save_graph | ( | ) |
Definition at line 1571 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::stop_daemon | ( | ) |
Definition at line 1332 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::stop_mining | ( | ) |
Definition at line 1306 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::stop_save_graph | ( | ) |
Definition at line 1598 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::sync_info | ( | ) |
Definition at line 2132 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::unban | ( | const std::string & | ip | ) |
Definition at line 1725 of file rpc_command_executor.cpp.

| bool daemonize::t_rpc_command_executor::update | ( | const std::string & | command | ) |
Definition at line 2051 of file rpc_command_executor.cpp.
