From e5c2b66959168da2140a22c146fa965a88c225a8 Mon Sep 17 00:00:00 2001 From: SergiySW Date: Mon, 1 Oct 2018 16:48:30 +0300 Subject: [PATCH] Change default desktop config.json to reduce load on slow PCs (#1247) --- rai/rai_wallet/entry.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rai/rai_wallet/entry.cpp b/rai/rai_wallet/entry.cpp index da6f97ca..c13b97c9 100644 --- a/rai/rai_wallet/entry.cpp +++ b/rai/rai_wallet/entry.cpp @@ -123,6 +123,8 @@ public: tree_a.put ("wallet", wallet_string); tree_a.put ("account", account.to_account ()); boost::property_tree::ptree node_l; + node.enable_voting = false; + node.bootstrap_connections_max = 4; node.serialize_json (node_l); tree_a.add_child ("node", node_l); boost::property_tree::ptree rpc_l;