BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <debug_api.hpp>
Public Member Functions | |
debug_api (graphene::app::application &app) | |
void | debug_push_blocks (std::string src_filename, uint32_t count) |
void | debug_generate_blocks (std::string debug_key, uint32_t count) |
void | debug_update_object (fc::variant_object update) |
void | debug_stream_json_objects (std::string filename) |
void | debug_stream_json_objects_flush () |
Public Attributes | |
std::shared_ptr< detail::debug_api_impl > | my |
Definition at line 42 of file debug_api.hpp.
graphene::debug_witness::debug_api::debug_api | ( | graphene::app::application & | app | ) |
Definition at line 126 of file debug_api.cpp.
void graphene::debug_witness::debug_api::debug_generate_blocks | ( | std::string | debug_key, |
uint32_t | count | ||
) |
Generate blocks locally.
Definition at line 136 of file debug_api.cpp.
void graphene::debug_witness::debug_api::debug_push_blocks | ( | std::string | src_filename, |
uint32_t | count | ||
) |
Push blocks from existing database.
Definition at line 131 of file debug_api.cpp.
void graphene::debug_witness::debug_api::debug_stream_json_objects | ( | std::string | filename | ) |
Start a node with given initial path. Save the database to disk. Stream objects to file. (Hint: Create with mkfifo and pipe it to a script)
Definition at line 146 of file debug_api.cpp.
void graphene::debug_witness::debug_api::debug_stream_json_objects_flush | ( | ) |
Flush streaming file.
Definition at line 151 of file debug_api.cpp.
void graphene::debug_witness::debug_api::debug_update_object | ( | fc::variant_object | update | ) |
Directly manipulate database objects (will undo and re-apply last block with new changes post-applied).
Definition at line 141 of file debug_api.cpp.
std::shared_ptr< detail::debug_api_impl > graphene::debug_witness::debug_api::my |
Definition at line 85 of file debug_api.hpp.