Skip to content

Commit b7ae96f

Browse files
committed
Temporarily remove enable-subscribe-to-all option
TODO: revert this commit when this GUI issue is done: bitshares/bitshares-ui#1338
1 parent 08b16dd commit b7ae96f

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

libraries/app/application.cpp

+6-4
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,9 @@ namespace detail {
410410
_force_validate = true;
411411
}
412412

413-
if( _options->count("enable-subscribe-to-all") )
414-
_app_options.enable_subscribe_to_all = _options->at("enable-subscribe-to-all").as<bool>();
413+
// TODO uncomment this when GUI is ready
414+
//if( _options->count("enable-subscribe-to-all") )
415+
// _app_options.enable_subscribe_to_all = _options->at("enable-subscribe-to-all").as<bool>();
415416

416417
if( _active_plugins.find( "market_history" ) != _active_plugins.end() )
417418
_app_options.has_market_history_plugin = true;
@@ -955,8 +956,9 @@ void application::set_program_options(boost::program_options::options_descriptio
955956
("dbg-init-key", bpo::value<string>(), "Block signing key to use for init witnesses, overrides genesis file")
956957
("api-access", bpo::value<boost::filesystem::path>(), "JSON file specifying API permissions")
957958
("plugins", bpo::value<string>(), "Space-separated list of plugins to activate")
958-
("enable-subscribe-to-all", bpo::value<bool>()->implicit_value(false),
959-
"Whether allow API clients to subscribe to universal object creation and removal events")
959+
// TODO uncomment this when GUI is ready
960+
//("enable-subscribe-to-all", bpo::value<bool>()->implicit_value(false),
961+
// "Whether allow API clients to subscribe to universal object creation and removal events")
960962
;
961963
command_line_options.add(configuration_file_options);
962964
command_line_options.add_options()

libraries/app/include/graphene/app/application.hpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ namespace graphene { namespace app {
3838
class application_options
3939
{
4040
public:
41-
bool enable_subscribe_to_all = false;
41+
// TODO change default to false when GUI is ready
42+
bool enable_subscribe_to_all = true;
4243
bool has_market_history_plugin = false;
4344
};
4445

0 commit comments

Comments
 (0)