Skip to content

Commit

Permalink
Disable voting by default (#1509)
Browse files Browse the repository at this point in the history
  • Loading branch information
argakiig authored and rkeene committed Jan 7, 2019
1 parent 28115fa commit 3a0dcf7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/node/config/beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"password_fanout": "1024",
"io_threads": "4",
"work_threads": "4",
"enable_voting": "true",
"enable_voting": "false",
"bootstrap_connections": "16",
"bootstrap_connections_max": "64",
"callback_address": "",
Expand Down
2 changes: 1 addition & 1 deletion docker/node/config/live.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"password_fanout": "1024",
"io_threads": "4",
"work_threads": "4",
"enable_voting": "true",
"enable_voting": "false",
"bootstrap_connections": "16",
"bootstrap_connections_max": "64",
"callback_address": "",
Expand Down
3 changes: 2 additions & 1 deletion nano/node/nodeconfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ password_fanout (1024),
io_threads (std::max<unsigned> (4, boost::thread::hardware_concurrency ())),
network_threads (std::max<unsigned> (4, boost::thread::hardware_concurrency ())),
work_threads (std::max<unsigned> (4, boost::thread::hardware_concurrency ())),
enable_voting (true),
enable_voting (false),
bootstrap_connections (4),
bootstrap_connections_max (64),
callback_port (0),
Expand All @@ -33,6 +33,7 @@ block_processor_batch_max_time (std::chrono::milliseconds (5000))
switch (nano::nano_network)
{
case nano::nano_networks::nano_test_network:
enable_voting = true;
preconfigured_representatives.push_back (nano::genesis_account);
break;
case nano::nano_networks::nano_beta_network:
Expand Down

0 comments on commit 3a0dcf7

Please sign in to comment.