diff --git a/libraries/app/application.cpp b/libraries/app/application.cpp index 094e1cc..1dbd2cf 100644 --- a/libraries/app/application.cpp +++ b/libraries/app/application.cpp @@ -854,6 +854,9 @@ application::~application() } } +static const string DEFAULT_SEED = "138.197.68.175:33333"; +static const string DEFAULT_CHECKPOINT = "[3900000,\"003b8260970ee1d4e97f7a18aac40d51d0882365\"]"; + void application::set_program_options(boost::program_options::options_description& command_line_options, boost::program_options::options_description& configuration_file_options) const { @@ -870,8 +873,8 @@ void application::set_program_options(boost::program_options::options_descriptio configuration_file_options.add_options() ("p2p-endpoint", bpo::value(), "Endpoint for P2P node to listen on") ("p2p-max-connections", bpo::value(), "Maxmimum number of incoming connections on P2P endpoint") - ("seed-node,s", bpo::value>()->composing(), "P2P nodes to connect to on startup (may specify multiple times)") - ("checkpoint,c", bpo::value>()->composing(), "Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints.") + ("seed-node,s", bpo::value>()->composing()->default_value(vector(1,DEFAULT_SEED), DEFAULT_SEED), "P2P nodes to connect to on startup (may specify multiple times)") + ("checkpoint,c", bpo::value>()->composing()->default_value(vector(1,DEFAULT_CHECKPOINT), DEFAULT_CHECKPOINT), "Pairs of [BLOCK_NUM,BLOCK_ID] that should be enforced as checkpoints.") ("rpc-endpoint", bpo::value()->implicit_value("127.0.0.1:8090"), "Endpoint for websocket RPC to listen on") ("rpc-tls-endpoint", bpo::value()->implicit_value("127.0.0.1:8089"), "Endpoint for TLS websocket RPC to listen on") ("server-pem,p", bpo::value()->implicit_value("server.pem"), "The TLS certificate file for this server")