Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #6776 from EOSIO/state-history-warning
Browse files Browse the repository at this point in the history
Add warning to --state-history-endpoint
  • Loading branch information
larryk85 authored Feb 21, 2019
2 parents d3f3ce9 + 796ecf2 commit 8b22902
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/state_history_plugin/state_history_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,9 @@ void state_history_plugin::set_program_options(options_description& cli, options
cli.add_options()("delete-state-history", bpo::bool_switch()->default_value(false), "clear state history files");
options("trace-history", bpo::bool_switch()->default_value(false), "enable trace history");
options("chain-state-history", bpo::bool_switch()->default_value(false), "enable chain state history");
options("state-history-endpoint", bpo::value<string>()->default_value("0.0.0.0:8080"),
"the endpoint upon which to listen for incoming connections");
options("state-history-endpoint", bpo::value<string>()->default_value("127.0.0.1:8080"),
"the endpoint upon which to listen for incoming connections. Caution: only expose this port to "
"your internal network.");
}

void state_history_plugin::plugin_initialize(const variables_map& options) {
Expand Down

0 comments on commit 8b22902

Please sign in to comment.