Skip to content
Permalink
Browse files

feat(electron): upgrade node to V17.0 (Boulton)

  • Loading branch information...
devinus committed Dec 21, 2018
1 parent 50fc9e2 commit e521b7d74ed772cb0af628a52f57b92345a55312
@@ -10,12 +10,12 @@
"max_json_depth": "20"
},
"node": {
"version": "14",
"version": "15",
"peering_port": "54000",
"bootstrap_fraction_numerator": "1",
"receive_minimum": "1",
"logging": {
"version": "4",
"version": "5",
"ledger": "false",
"ledger_duplicate": "false",
"vote": "false",
@@ -30,6 +30,8 @@
"log_rpc": "true",
"bulk_pull": "false",
"work_generation_time": "true",
"upnp_details": "false",
"timing": "false",
"log_to_cerr": "false",
"max_size": "16777216",
"rotation_size": "4194304",
@@ -50,6 +52,7 @@
"online_weight_quorum": "50",
"password_fanout": "1024",
"io_threads": "4",
"network_threads": "4",
"work_threads": "4",
"enable_voting": "true",
"bootstrap_connections": "4",
@@ -58,7 +61,7 @@
"callback_port": "0",
"callback_target": "",
"lmdb_max_dbs": "128",
"generate_hash_votes_at": "0"
"block_processor_batch_max_time": "5000"
},
"opencl_enable": "false",
"opencl": {
@@ -10,12 +10,12 @@
"max_json_depth": "20"
},
"node": {
"version": "14",
"version": "15",
"peering_port": "7075",
"bootstrap_fraction_numerator": "1",
"receive_minimum": "1",
"logging": {
"version": "4",
"version": "5",
"ledger": "false",
"ledger_duplicate": "false",
"vote": "false",
@@ -30,6 +30,8 @@
"log_rpc": "false",
"bulk_pull": "false",
"work_generation_time": "true",
"upnp_details": "false",
"timing": "false",
"log_to_cerr": "false",
"max_size": "16777216",
"rotation_size": "4194304",
@@ -53,6 +55,7 @@
"online_weight_quorum": "50",
"password_fanout": "1024",
"io_threads": "4",
"network_threads": "4",
"work_threads": "4",
"enable_voting": "true",
"bootstrap_connections": "4",
@@ -61,7 +64,7 @@
"callback_port": "0",
"callback_target": "",
"lmdb_max_dbs": "128",
"generate_hash_votes_at": "1535760000"
"block_processor_batch_max_time": "5000"
},
"opencl_enable": "false",
"opencl": {
@@ -10,12 +10,12 @@
"max_json_depth": "20"
},
"node": {
"version": "14",
"version": "15",
"peering_port": "54000",
"bootstrap_fraction_numerator": "1",
"receive_minimum": "1",
"logging": {
"version": "4",
"version": "5",
"ledger": "false",
"ledger_duplicate": "false",
"vote": "false",
@@ -30,6 +30,8 @@
"log_rpc": "true",
"bulk_pull": "false",
"work_generation_time": "true",
"upnp_details": "false",
"timing": "false",
"log_to_cerr": "false",
"max_size": "16777216",
"rotation_size": "4194304",
@@ -44,6 +46,7 @@
"online_weight_quorum": "50",
"password_fanout": "1024",
"io_threads": "4",
"network_threads": "4",
"work_threads": "4",
"enable_voting": "true",
"bootstrap_connections": "4",
@@ -52,7 +55,7 @@
"callback_port": "0",
"callback_target": "",
"lmdb_max_dbs": "128",
"generate_hash_votes_at": "0"
"block_processor_batch_max_time": "5000"
},
"opencl_enable": "false",
"opencl": {
@@ -172,8 +172,9 @@ const startDaemon = async () => {

const cpuCount = os.cpus().length;
config.node.io_threads = Math.max(2, Math.ceil(cpuCount / 2));
config.node.work_threads = Math.min(2, config.node.io_threads);
config.node.bootstrap_connections = Math.max(4, config.node.io_threads);
config.node.network_threads = config.node.io_threads;
config.node.work_threads = 2;
config.node.bootstrap_connections = Math.max(4, config.node.network_threads);
config.node.bootstrap_connections_max = Math.min(64, config.node.bootstrap_connections * 4);

const { version: configVersion } = config;
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit e521b7d

Please sign in to comment.
You can’t perform that action at this time.