From 8cc8c882a436b5c2b50e51291049d92e06e61754 Mon Sep 17 00:00:00 2001 From: Eric Frias Date: Tue, 16 Apr 2019 14:39:48 +0000 Subject: [PATCH] Set default seed node for BEOS mainnet --- plugins/net_plugin/net_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/net_plugin/net_plugin.cpp b/plugins/net_plugin/net_plugin.cpp index 9ee380b666f..f3957cfbfa1 100644 --- a/plugins/net_plugin/net_plugin.cpp +++ b/plugins/net_plugin/net_plugin.cpp @@ -2864,7 +2864,7 @@ namespace eosio { cfg.add_options() ( "p2p-listen-endpoint", bpo::value()->default_value( "0.0.0.0:9876" ), "The actual host:port used to listen for incoming p2p connections.") ( "p2p-server-address", bpo::value(), "An externally accessible host:port for identifying this node. Defaults to p2p-listen-endpoint.") - ( "p2p-peer-address", bpo::value< vector >()->composing(), "The public endpoint of a peer node to connect to. Use multiple p2p-peer-address options as needed to compose a network.") + ( "p2p-peer-address", bpo::value< vector >()->composing()->default_value( {"seed.beos.world:9876"}, "seed.beos.world:9876" ), "The public endpoint of a peer node to connect to. Use multiple p2p-peer-address options as needed to compose a network.") ( "p2p-max-nodes-per-host", bpo::value()->default_value(def_max_nodes_per_host), "Maximum number of client nodes from any single IP address") ( "agent-name", bpo::value()->default_value("\"EOS Test Agent\""), "The name supplied to identify this node amongst the peers.") ( "allowed-connection", bpo::value>()->multitoken()->default_value({"any"}, "any"), "Can be 'any' or 'producers' or 'specified' or 'none'. If 'specified', peer-key must be specified at least once. If only 'producers', peer-key is not required. 'producers' and 'specified' may be combined.")