|
@@ -129,7 +129,10 @@ static void usage(const char *argv0)
|
|
|
{
|
|
|
fprintf(stderr, "Usage: %s --gen sealedprivkeyfile pubkeyfile\n",
|
|
|
argv0);
|
|
|
- fprintf(stderr, "or %s -k sealedprivkeyfile -n myname [-t nthreads] [-d epoch_duration (in s)] [-e number of epochs] [-w number of Waksman Networks to precompute before starting any epochs] [command] < config.json\n",
|
|
|
+ fprintf(stderr, "or %s -k sealedprivkeyfile -n myname "
|
|
|
+ "[-t nthreads] [-d epoch wait time (in s)] [-e number of epochs] "
|
|
|
+ "[-w number of Waksman Networks to precompute before starting "
|
|
|
+ "any epochs] [command] < config.json\n",
|
|
|
argv0);
|
|
|
exit(1);
|
|
|
}
|
|
@@ -278,7 +281,9 @@ int main(int argc, char **argv)
|
|
|
node.recv_commands(
|
|
|
// error_cb
|
|
|
[node_num, &config](boost::system::error_code ec) {
|
|
|
- printf("Error %s from %d %s\n", ec.message().c_str(), node_num, config.nodes[node_num].name.c_str());
|
|
|
+ printf("Error %s from %d %s\n",
|
|
|
+ ec.message().c_str(), node_num,
|
|
|
+ config.nodes[node_num].name.c_str());
|
|
|
},
|
|
|
// epoch_cb
|
|
|
[](uint32_t epoch) {
|