diff --git a/libraries/app/application.cpp b/libraries/app/application.cpp index ede96cb0..5c347daa 100644 --- a/libraries/app/application.cpp +++ b/libraries/app/application.cpp @@ -410,8 +410,9 @@ namespace detail { _force_validate = true; } - if( _options->count("enable-subscribe-to-all") ) - _app_options.enable_subscribe_to_all = _options->at("enable-subscribe-to-all").as(); + // TODO uncomment this when GUI is ready + //if( _options->count("enable-subscribe-to-all") ) + // _app_options.enable_subscribe_to_all = _options->at("enable-subscribe-to-all").as(); if( _active_plugins.find( "market_history" ) != _active_plugins.end() ) _app_options.has_market_history_plugin = true; @@ -955,8 +956,9 @@ void application::set_program_options(boost::program_options::options_descriptio ("dbg-init-key", bpo::value(), "Block signing key to use for init witnesses, overrides genesis file") ("api-access", bpo::value(), "JSON file specifying API permissions") ("plugins", bpo::value(), "Space-separated list of plugins to activate") - ("enable-subscribe-to-all", bpo::value()->implicit_value(false), - "Whether allow API clients to subscribe to universal object creation and removal events") + // TODO uncomment this when GUI is ready + //("enable-subscribe-to-all", bpo::value()->implicit_value(false), + // "Whether allow API clients to subscribe to universal object creation and removal events") ; command_line_options.add(configuration_file_options); command_line_options.add_options() diff --git a/libraries/app/include/graphene/app/application.hpp b/libraries/app/include/graphene/app/application.hpp index 48f2de51..3be91b62 100644 --- a/libraries/app/include/graphene/app/application.hpp +++ b/libraries/app/include/graphene/app/application.hpp @@ -38,7 +38,8 @@ namespace graphene { namespace app { class application_options { public: - bool enable_subscribe_to_all = false; + // TODO change default to false when GUI is ready + bool enable_subscribe_to_all = true; bool has_market_history_plugin = false; };