Disable voting by default (#1509)
This commit is contained in:
parent
28115facb3
commit
3a0dcf7941
3 changed files with 4 additions and 3 deletions
|
|
@ -50,7 +50,7 @@
|
||||||
"password_fanout": "1024",
|
"password_fanout": "1024",
|
||||||
"io_threads": "4",
|
"io_threads": "4",
|
||||||
"work_threads": "4",
|
"work_threads": "4",
|
||||||
"enable_voting": "true",
|
"enable_voting": "false",
|
||||||
"bootstrap_connections": "16",
|
"bootstrap_connections": "16",
|
||||||
"bootstrap_connections_max": "64",
|
"bootstrap_connections_max": "64",
|
||||||
"callback_address": "",
|
"callback_address": "",
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@
|
||||||
"password_fanout": "1024",
|
"password_fanout": "1024",
|
||||||
"io_threads": "4",
|
"io_threads": "4",
|
||||||
"work_threads": "4",
|
"work_threads": "4",
|
||||||
"enable_voting": "true",
|
"enable_voting": "false",
|
||||||
"bootstrap_connections": "16",
|
"bootstrap_connections": "16",
|
||||||
"bootstrap_connections_max": "64",
|
"bootstrap_connections_max": "64",
|
||||||
"callback_address": "",
|
"callback_address": "",
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ password_fanout (1024),
|
||||||
io_threads (std::max<unsigned> (4, boost::thread::hardware_concurrency ())),
|
io_threads (std::max<unsigned> (4, boost::thread::hardware_concurrency ())),
|
||||||
network_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 ())),
|
work_threads (std::max<unsigned> (4, boost::thread::hardware_concurrency ())),
|
||||||
enable_voting (true),
|
enable_voting (false),
|
||||||
bootstrap_connections (4),
|
bootstrap_connections (4),
|
||||||
bootstrap_connections_max (64),
|
bootstrap_connections_max (64),
|
||||||
callback_port (0),
|
callback_port (0),
|
||||||
|
|
@ -33,6 +33,7 @@ block_processor_batch_max_time (std::chrono::milliseconds (5000))
|
||||||
switch (nano::nano_network)
|
switch (nano::nano_network)
|
||||||
{
|
{
|
||||||
case nano::nano_networks::nano_test_network:
|
case nano::nano_networks::nano_test_network:
|
||||||
|
enable_voting = true;
|
||||||
preconfigured_representatives.push_back (nano::genesis_account);
|
preconfigured_representatives.push_back (nano::genesis_account);
|
||||||
break;
|
break;
|
||||||
case nano::nano_networks::nano_beta_network:
|
case nano::nano_networks::nano_beta_network:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue