提交 eef04962 编写于 作者: K Kevin Heifner

Add -skip-signature to launcher #271

上级 a54725dc
......@@ -452,7 +452,7 @@ For testing purposes we will run 2 local production nodes talking to each other.
```commandline
cd ~/eos/build
cp ../genesis.json ./
./programs/launcher/launcher -p2 -s testnet.json -l local
./programs/launcher/launcher -p2 -s testnet.json --skip-signature -l local
```
This command will generate 2 data folder for each instance of the node: `tn_data_0` and `tn_data_1`, as well as `testnet.json` file for the testnet configuration.
......
......@@ -236,7 +236,7 @@ launcher_def::set_options (bpo::options_description &cli) {
("shape,s",bpo::value<string>()->default_value("ring"),"network topology, use \"ring\" \"star\" \"mesh\" or give a filename for custom")
("genesis,g",bpo::value<bf::path>()->default_value("./genesis.json"),"set the path to genesis.json")
("output,o",bpo::value<bf::path>(),"save a copy of the generated topology in this file")
("skip-signature,s", bpo::value<bool>(), "EOSD does not require transaction signatures.");
("skip-signature", bpo::bool_switch()->default_value(false), "EOSD does not require transaction signatures.");
}
void
......@@ -252,7 +252,7 @@ launcher_def::initialize (const variables_map &vmap) {
if (vmap.count("output"))
output = vmap["output"].as<bf::path>();
if (vmap.count("skip-signature"))
skip_transaction_signatures = true;
skip_transaction_signatures = vmap["skip-signature"].as<bool>();
producers = 21;
data_dir_base = "tn_data_";
......
......@@ -72,6 +72,8 @@ Testnet launcher options:
set the path to genesis.json
-o [ --output ] arg save a copy of the generated topology
in this file
--skip-signature EOSD does not require transaction
signatures.
-i [ --timestamp ] arg set the timestamp for the first block.
Use "now" to indicate the current time
-l [ --launch ] arg select a subset of nodes to launch.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册