From 8c0c56ab6bb868032811fdcc35340c5104a49f26 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Sat, 11 Jul 2020 12:05:59 +0700 Subject: [PATCH 1/3] Update vsys-mainnet.conf This moves us closer to having sane defaults for users by adding network features that are recommended for stable, fast operation of VSYS nodes. It will be accompanied by a bash script for Debian 10 machines that runs VSYS in the exact recommended manner. --- vsys-mainnet.conf | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/vsys-mainnet.conf b/vsys-mainnet.conf index 9f2e41d8c..7ba143c1d 100644 --- a/vsys-mainnet.conf +++ b/vsys-mainnet.conf @@ -16,6 +16,15 @@ vsys { peers-broadcast-interval = 5s connection-timeout = 30s + + # Inbound Network Connections + max-inbound-connections = 120 + + # Outbound Network Connections + max-outbound-connections = 120 + + # Network buffer size + outbound-buffer-size = 64M # Network address bind-address = "0.0.0.0" @@ -74,4 +83,4 @@ vsys { } checkpoints.public-key = "A9MX22tXpNdTTx5wBf3CunZz299c1nnca6kH3MzL312L" -} \ No newline at end of file +} From 617f293f12b0c37971c512160c3f22dd22ee1792 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Sun, 12 Jul 2020 09:47:51 +0700 Subject: [PATCH 2/3] Update vsys-mainnet.conf RPC API to 127.0.0.1 --- vsys-mainnet.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vsys-mainnet.conf b/vsys-mainnet.conf index 7ba143c1d..5a6f5de87 100644 --- a/vsys-mainnet.conf +++ b/vsys-mainnet.conf @@ -72,7 +72,7 @@ vsys { enable = yes # Network address to bind to - bind-address = "0.0.0.0" + bind-address = "127.0.0.1" # Port to listen to REST API requests # port = 9922 From fb94ff6ded07c67e0640c1dfc0b3b0f72e9508e9 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Sun, 12 Jul 2020 09:49:41 +0700 Subject: [PATCH 3/3] Update vsys-mainnet.conf Remove wallet from default configuration, remove default wallet password --- vsys-mainnet.conf | 9 --------- 1 file changed, 9 deletions(-) diff --git a/vsys-mainnet.conf b/vsys-mainnet.conf index 5a6f5de87..10236edf9 100644 --- a/vsys-mainnet.conf +++ b/vsys-mainnet.conf @@ -39,15 +39,6 @@ vsys { declared-address = "localhost:9921" } - # Wallet settings - wallet { - # Password to protect wallet file - password = "vsys" - - # Wallet seed as string - # seed = "" - } - # Blockchain settings blockchain.type = MAINNET blockchain.minimum-in-memory-diff-blocks = 500