BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <application.hpp>
Public Member Functions | |
application () | |
~application () | |
void | set_program_options (boost::program_options::options_description &command_line_options, boost::program_options::options_description &configuration_file_options) const |
void | initialize (const fc::path &data_dir, std::shared_ptr< boost::program_options::variables_map > options) const |
void | startup () |
template<typename PluginType > | |
std::shared_ptr< PluginType > | register_plugin (bool auto_load=false) |
std::shared_ptr< abstract_plugin > | get_plugin (const string &name) const |
template<typename PluginType > | |
std::shared_ptr< PluginType > | get_plugin (const string &name) const |
net::node_ptr | p2p_node () |
std::shared_ptr< chain::database > | chain_database () const |
void | set_api_limit () |
void | set_block_production (bool producing_blocks) |
fc::optional< api_access_info > | get_api_access_info (const string &username) const |
void | set_api_access_info (const string &username, api_access_info &&permissions) |
bool | is_finished_syncing () const |
const application_options & | get_options () const |
void | enable_plugin (const string &name) const |
bool | is_plugin_enabled (const string &name) const |
const string & | get_node_info () const |
Public Attributes | |
boost::signals2::signal< void()> | syncing_finished |
Emitted when syncing finishes (is_finished_syncing will return true) More... | |
std::shared_ptr< fc::thread > | elasticsearch_thread |
Definition at line 91 of file application.hpp.
graphene::app::application::application | ( | ) |
Definition at line 1161 of file application.cpp.
graphene::app::application::~application | ( | ) |
Definition at line 1167 of file application.cpp.
std::shared_ptr< chain::database > graphene::app::application::chain_database | ( | ) | const |
Definition at line 1404 of file application.cpp.
void graphene::app::application::enable_plugin | ( | const string & | name | ) | const |
Definition at line 1429 of file application.cpp.
optional< api_access_info > graphene::app::application::get_api_access_info | ( | const string & | username | ) | const |
Definition at line 1414 of file application.cpp.
const string & graphene::app::application::get_node_info | ( | ) | const |
Definition at line 1444 of file application.cpp.
const application_options & graphene::app::application::get_options | ( | ) | const |
Definition at line 1439 of file application.cpp.
std::shared_ptr< abstract_plugin > graphene::app::application::get_plugin | ( | const string & | name | ) | const |
Definition at line 1389 of file application.cpp.
|
inline |
Definition at line 133 of file application.hpp.
void graphene::app::application::initialize | ( | const fc::path & | data_dir, |
std::shared_ptr< boost::program_options::variables_map > | options | ||
) | const |
Definition at line 1354 of file application.cpp.
bool graphene::app::application::is_finished_syncing | ( | ) | const |
Definition at line 1424 of file application.cpp.
bool graphene::app::application::is_plugin_enabled | ( | const string & | name | ) | const |
Definition at line 1394 of file application.cpp.
net::node_ptr graphene::app::application::p2p_node | ( | ) |
Definition at line 1399 of file application.cpp.
|
inline |
Definition at line 104 of file application.hpp.
void graphene::app::application::set_api_access_info | ( | const string & | username, |
api_access_info && | permissions | ||
) |
Definition at line 1419 of file application.cpp.
void graphene::app::application::set_api_limit | ( | ) |
Definition at line 1377 of file application.cpp.
void graphene::app::application::set_block_production | ( | bool | producing_blocks | ) |
Definition at line 1409 of file application.cpp.
void graphene::app::application::set_program_options | ( | boost::program_options::options_description & | command_line_options, |
boost::program_options::options_description & | configuration_file_options | ||
) | const |
Definition at line 1173 of file application.cpp.
void graphene::app::application::startup | ( | ) |
Definition at line 1362 of file application.cpp.
std::shared_ptr<fc::thread> graphene::app::application::elasticsearch_thread |
Definition at line 158 of file application.hpp.
boost::signals2::signal<void()> graphene::app::application::syncing_finished |
Emitted when syncing finishes (is_finished_syncing will return true)
Definition at line 150 of file application.hpp.