Definition at line 14 of file main.cpp.
◆ APPBASE_PLUGIN_REQUIRES()
chain_plugin::APPBASE_PLUGIN_REQUIRES |
( |
| ) |
|
◆ db()
◆ plugin_initialize()
void chain_plugin::plugin_initialize |
( |
const variables_map & | options | ) |
|
|
inline |
Definition at line 31 of file main.cpp.
31{ std::cout << "initialize chain plugin\n"; }
◆ plugin_shutdown()
void chain_plugin::plugin_shutdown |
( |
| ) |
|
|
inline |
Definition at line 33 of file main.cpp.
33{ std::cout << "shutdown chain plugin \n"; }
◆ plugin_startup()
void chain_plugin::plugin_startup |
( |
| ) |
|
|
inline |
Definition at line 32 of file main.cpp.
32{ std::cout << "starting chain plugin \n"; }
◆ set_program_options()
virtual void chain_plugin::set_program_options |
( |
options_description & | cli, |
|
|
options_description & | cfg ) |
|
inlineoverridevirtual |
Implements appbase::abstract_plugin.
Definition at line 19 of file main.cpp.
20 {
21 cfg.add_options()
22 ("readonly", "open the database in read only mode")
23 ("dbsize", bpo::value<uint64_t>()->default_value( 8*1024 ), "Minimum size MB of database shared memory file")
24 ;
26 ("replay", "clear chain database and replay all blocks" )
27 ("reset", "clear chain database and block log" )
28 ;
29 }
The documentation for this class was generated from the following file: