#include <daemon.h>
|
| static void | init_options (boost::program_options::options_description &option_spec) |
| static void | default_options (boost::program_options::variables_map &vm) |
| static void | set_ports (boost::program_options::variables_map &vm, unsigned initial_port) |
|
| static constexpr const std::chrono::seconds | rpc_timeout = std::chrono::seconds(120) |
◆ t_node_server
◆ t_protocol_raw
◆ mock_daemon()
◆ ~mock_daemon()
| mock_daemon::~mock_daemon |
( |
| ) |
|
|
virtual |
◆ core()
◆ default_options()
| void mock_daemon::default_options |
( |
boost::program_options::variables_map & | vm | ) |
|
|
static |
◆ deinit()
| void mock_daemon::deinit |
( |
| ) |
|
◆ get_height()
◆ init()
| void mock_daemon::init |
( |
| ) |
|
◆ init_and_run()
| void mock_daemon::init_and_run |
( |
| ) |
|
◆ init_options()
| void mock_daemon::init_options |
( |
boost::program_options::options_description & | option_spec | ) |
|
|
static |
◆ load_params()
| void mock_daemon::load_params |
( |
boost::program_options::variables_map const & | vm | ) |
|
◆ mine_blocks()
| void mock_daemon::mine_blocks |
( |
size_t | num_blocks, |
|
|
const std::string & | miner_address ) |
◆ nettype()
◆ p2p_addr()
| std::string mock_daemon::p2p_addr |
( |
| ) |
const |
|
inline |
◆ rpc_addr()
| std::string mock_daemon::rpc_addr |
( |
| ) |
const |
|
inline |
◆ run()
| void mock_daemon::run |
( |
| ) |
|
◆ run_main()
| bool mock_daemon::run_main |
( |
| ) |
|
◆ set_ports()
| void mock_daemon::set_ports |
( |
boost::program_options::variables_map & | vm, |
|
|
unsigned | initial_port ) |
|
static |
◆ set_start_p2p()
◆ set_start_zmq()
◆ start_mining()
| void mock_daemon::start_mining |
( |
const std::string & | miner_address, |
|
|
uint64_t | threads_count = 1, |
|
|
bool | do_background_mining = false, |
|
|
bool | ignore_battery = true ) |
◆ stop()
| void mock_daemon::stop |
( |
| ) |
|
◆ stop_and_deinit()
| void mock_daemon::stop_and_deinit |
( |
| ) |
|
◆ stop_mining()
| void mock_daemon::stop_mining |
( |
| ) |
|
◆ stop_p2p()
| void mock_daemon::stop_p2p |
( |
| ) |
|
◆ stop_rpc()
| void mock_daemon::stop_rpc |
( |
| ) |
|
◆ try_init_and_run()
| void mock_daemon::try_init_and_run |
( |
boost::optional< unsigned > | initial_port = boost::none | ) |
|
◆ zmq_addr()
| std::string mock_daemon::zmq_addr |
( |
| ) |
const |
|
inline |
◆ m_core
◆ m_deinitalized
| std::atomic<bool> mock_daemon::m_deinitalized |
◆ m_http_client
◆ m_network_type
◆ m_p2p_bind_port
| std::string mock_daemon::m_p2p_bind_port |
◆ m_protocol
◆ m_rpc_bind_port
| std::string mock_daemon::m_rpc_bind_port |
◆ m_rpc_server
◆ m_run_thread
| boost::thread mock_daemon::m_run_thread |
◆ m_server
◆ m_start_p2p
| bool mock_daemon::m_start_p2p |
◆ m_start_zmq
| bool mock_daemon::m_start_zmq |
◆ m_stopped
| std::atomic<bool> mock_daemon::m_stopped |
◆ m_terminated
| std::atomic<bool> mock_daemon::m_terminated |
◆ m_vm
| boost::program_options::variables_map mock_daemon::m_vm |
◆ m_zmq_bind_port
| std::string mock_daemon::m_zmq_bind_port |
◆ rpc_timeout
| const std::chrono::seconds mock_daemon::rpc_timeout = std::chrono::seconds(120) |
|
staticconstexpr |
The documentation for this class was generated from the following files: