Skip to content

Commit

Permalink
Temporarily remove enable-subscribe-to-all option
Browse files Browse the repository at this point in the history
TODO: revert this commit when this GUI issue is done: bitshares/bitshares-ui#1338
  • Loading branch information
abitmore committed Mar 19, 2018
1 parent eceb6c0 commit cc81e60
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 6 additions & 4 deletions libraries/app/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<bool>();
// 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<bool>();

if( _active_plugins.find( "market_history" ) != _active_plugins.end() )
_app_options.has_market_history_plugin = true;
Expand Down Expand Up @@ -955,8 +956,9 @@ void application::set_program_options(boost::program_options::options_descriptio
("dbg-init-key", bpo::value<string>(), "Block signing key to use for init witnesses, overrides genesis file")
("api-access", bpo::value<boost::filesystem::path>(), "JSON file specifying API permissions")
("plugins", bpo::value<string>(), "Space-separated list of plugins to activate")
("enable-subscribe-to-all", bpo::value<bool>()->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<bool>()->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()
Expand Down
3 changes: 2 additions & 1 deletion libraries/app/include/graphene/app/application.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit cc81e60

Please sign in to comment.