@@ -67,13 +67,14 @@ int main(int argc, char** argv) {
67
67
try {
68
68
bpo::options_description app_options (" BitShares Witness Node" );
69
69
bpo::options_description cfg_options (" BitShares Witness Node" );
70
+ std::string default_plugins = " witness account_history market_history grouped_orders "
71
+ " api_helper_indexes custom_operations" ;
70
72
app_options.add_options ()
71
73
(" help,h" , " Print this help message and exit." )
72
74
(" data-dir,d" , bpo::value<boost::filesystem::path>()->default_value (" witness_node_data_dir" ),
73
75
" Directory containing databases, configuration file, etc." )
74
76
(" version,v" , " Display version information" )
75
- (" plugins" , bpo::value<std::string>()
76
- ->default_value (" witness account_history market_history grouped_orders api_helper_indexes" ),
77
+ (" plugins" , bpo::value<std::string>()->default_value (default_plugins),
77
78
" Space-separated list of plugins to activate" )
78
79
(" ignore-api-helper-indexes-warning" , " Do not exit if api_helper_indexes plugin is not enabled." );
79
80
@@ -84,9 +85,8 @@ int main(int argc, char** argv) {
84
85
cfg_options.add (cfg);
85
86
86
87
cfg_options.add_options ()
87
- (" plugins" , bpo::value<std::string>()
88
- ->default_value (" witness account_history market_history grouped_orders api_helper_indexes" ),
89
- " Space-separated list of plugins to activate" )
88
+ (" plugins" , bpo::value<std::string>()->default_value (default_plugins),
89
+ " Space-separated list of plugins to activate" )
90
90
(" ignore-api-helper-indexes-warning" , " Do not exit if api_helper_indexes plugin is not enabled." );
91
91
92
92
auto witness_plug = node->register_plugin <witness_plugin::witness_plugin>();
0 commit comments