Golos
Разработчикам Статистика Баунти Документация Партнеры Github
Public Member Functions | Public Attributes | List of all members
golos::plugin::debug_node::detail::debug_node_api_impl Class Reference

Public Member Functions

 debug_node_api_impl (golos::application::application &_app)
 
uint32_t debug_push_blocks (const std::string &src_filename, uint32_t count, bool skip_validate_invariants)
 
uint32_t debug_generate_blocks (const std::string &debug_key, uint32_t count)
 
uint32_t debug_generate_blocks_until (const std::string &debug_key, const fc::time_point_sec &head_block_time, bool generate_sparsely)
 
fc::optional< chain::signed_block > debug_pop_block ()
 
chain::witness_schedule_object debug_get_witness_schedule ()
 
chain::hardfork_property_object debug_get_hardfork_property_object ()
 
void debug_update_object (const fc::variant_object &update)
 
fc::variant_object debug_get_edits ()
 
void debug_set_edits (const fc::variant_object &edits)
 
void debug_stream_json_objects (const std::string &filename)
 
void debug_stream_json_objects_flush ()
 
void debug_set_hardfork (uint32_t hardfork_id)
 
bool debug_has_hardfork (uint32_t hardfork_id)
 
void debug_get_json_schema (std::string &schema)
 
void debug_set_dev_key_prefix (std::string prefix)
 
void debug_mine (debug_mine_result &result, const debug_mine_args &args)
 
void debug_get_dev_key (get_dev_key_result &result, const get_dev_key_args &args)
 
std::shared_ptr< golos::plugin::debug_node::debug_node_pluginget_plugin ()
 

Public Attributes

golos::application::applicationapp
 
debug_private_key_storage key_storage
 

Detailed Description

Definition at line 36 of file debug_node_api.cpp.

Constructor & Destructor Documentation

◆ debug_node_api_impl()

golos::plugin::debug_node::detail::debug_node_api_impl::debug_node_api_impl ( golos::application::application _app)

Definition at line 106 of file debug_node_api.cpp.

Member Function Documentation

◆ debug_generate_blocks()

uint32_t golos::plugin::debug_node::detail::debug_node_api_impl::debug_generate_blocks ( const std::string &  debug_key,
uint32_t  count 
)

Definition at line 282 of file debug_node_api.cpp.

◆ debug_generate_blocks_until()

uint32_t golos::plugin::debug_node::detail::debug_node_api_impl::debug_generate_blocks_until ( const std::string &  debug_key,
const fc::time_point_sec &  head_block_time,
bool  generate_sparsely 
)

Definition at line 287 of file debug_node_api.cpp.

◆ debug_get_dev_key()

void golos::plugin::debug_node::detail::debug_node_api_impl::debug_get_dev_key ( get_dev_key_result result,
const get_dev_key_args args 
)

Definition at line 118 of file debug_node_api.cpp.

◆ debug_get_edits()

fc::variant_object golos::plugin::debug_node::detail::debug_node_api_impl::debug_get_edits ( )

◆ debug_get_hardfork_property_object()

chain::hardfork_property_object golos::plugin::debug_node::detail::debug_node_api_impl::debug_get_hardfork_property_object ( )

Definition at line 308 of file debug_node_api.cpp.

◆ debug_get_json_schema()

void golos::plugin::debug_node::detail::debug_node_api_impl::debug_get_json_schema ( std::string &  schema)

Definition at line 356 of file debug_node_api.cpp.

◆ debug_get_witness_schedule()

chain::witness_schedule_object golos::plugin::debug_node::detail::debug_node_api_impl::debug_get_witness_schedule ( )

Definition at line 304 of file debug_node_api.cpp.

◆ debug_has_hardfork()

bool golos::plugin::debug_node::detail::debug_node_api_impl::debug_has_hardfork ( uint32_t  hardfork_id)

Definition at line 351 of file debug_node_api.cpp.

◆ debug_mine()

void golos::plugin::debug_node::detail::debug_node_api_impl::debug_mine ( debug_mine_result result,
const debug_mine_args args 
)

Definition at line 126 of file debug_node_api.cpp.

◆ debug_pop_block()

fc::optional< chain::signed_block > golos::plugin::debug_node::detail::debug_node_api_impl::debug_pop_block ( )

Definition at line 294 of file debug_node_api.cpp.

◆ debug_push_blocks()

uint32_t golos::plugin::debug_node::detail::debug_node_api_impl::debug_push_blocks ( const std::string &  src_filename,
uint32_t  count,
bool  skip_validate_invariants 
)

Definition at line 230 of file debug_node_api.cpp.

◆ debug_set_dev_key_prefix()

void golos::plugin::debug_node::detail::debug_node_api_impl::debug_set_dev_key_prefix ( std::string  prefix)

Definition at line 113 of file debug_node_api.cpp.

◆ debug_set_edits()

void golos::plugin::debug_node::detail::debug_node_api_impl::debug_set_edits ( const fc::variant_object &  edits)

Definition at line 323 of file debug_node_api.cpp.

◆ debug_set_hardfork()

void golos::plugin::debug_node::detail::debug_node_api_impl::debug_set_hardfork ( uint32_t  hardfork_id)

Definition at line 339 of file debug_node_api.cpp.

◆ debug_stream_json_objects()

void golos::plugin::debug_node::detail::debug_node_api_impl::debug_stream_json_objects ( const std::string &  filename)

Definition at line 331 of file debug_node_api.cpp.

◆ debug_stream_json_objects_flush()

void golos::plugin::debug_node::detail::debug_node_api_impl::debug_stream_json_objects_flush ( )

Definition at line 335 of file debug_node_api.cpp.

◆ debug_update_object()

void golos::plugin::debug_node::detail::debug_node_api_impl::debug_update_object ( const fc::variant_object &  update)

Definition at line 312 of file debug_node_api.cpp.

◆ get_plugin()

std::shared_ptr< golos::plugin::debug_node::debug_node_plugin > golos::plugin::debug_node::detail::debug_node_api_impl::get_plugin ( )

Definition at line 327 of file debug_node_api.cpp.

Member Data Documentation

◆ app

golos::application::application& golos::plugin::debug_node::detail::debug_node_api_impl::app

Definition at line 81 of file debug_node_api.cpp.

◆ key_storage

debug_private_key_storage golos::plugin::debug_node::detail::debug_node_api_impl::key_storage

Definition at line 82 of file debug_node_api.cpp.


The documentation for this class was generated from the following file: