@@ -638,7 +638,7 @@ int main (int argc, char *argv[]) {
launcher_deftop;
stringgts;
launch_modesmode;
booldo_kill;
stringkill_arg;
local_id.initialize();
top.set_options(opts);
...
...
@@ -646,7 +646,7 @@ int main (int argc, char *argv[]) {
opts.add_options()
("timestamp,i",bpo::value<string>(),"set the timestamp for the first block. Use \"now\" to indicate the current time")
("launch,l",bpo::value<string>(),"select a subset of nodes to launch. Currently may be \"all\", \"none\", or \"local\". If not set, the default is to launch all unless an output file is named, in which case it starts none.")
("kill,k","The launcher retrieve the previously started process ids and issue a sigterm to each.")
("kill,k",bpo::value<string>(),"The launcher retrieves the previously started process ids and issue a kill signal to each.")
("help,h","print this list");
...
...
@@ -657,7 +657,8 @@ int main (int argc, char *argv[]) {
if(vmap.count("timestamp"))
gts=vmap["timestamp"].as<string>();
do_kill=vmap.count("kill")>0;
if(vmap.count("kill"))
kill_arg=vmap["kill"].as<string>();
if(vmap.count("help")>0){
opts.print(cerr);
return0;
...
...
@@ -679,11 +680,14 @@ int main (int argc, char *argv[]) {
@@ -32,10 +32,13 @@ Note that the Launcher will not push instances of eosd to the remote hosts, you
Network topology or "shape" describes how the nodes are connected in order to share transaction and block data, and requests for the same. The idea for varying network topology is that there is a trade off between the number of times a node must send a message reporting a new transaction or block, vs the number of times that message must be repeated to ensure all nodes know of it.
The Launcher has definitions of three different network "shapes" based on inter-nodal connections, which can be selected by a command line option, or you can supply your own network topology by editing the Launcher generated configuration file.
####Ring network
This is the simplest network, where each node identifies just the node next to it as it's only peer.
####Star network
A "star" is intended to support the use larger number nodes in the testnet. In this case the number of peers connected to a node and the distribution of those nodes varies based on the number of nodes in the network.
A "star" is intended to support the use larger number nodes in the testnet. In this case the number of peers connected to a node and the distribution of those nodes varies based on the number of nodes in the network.
####Mesh network
In a "mesh" network, each node is connected to as many peer nodes as possible.