From 133b600c8ccde5eaa4516ef522f3f3f35a2c7af7 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Mon, 31 May 2021 16:02:24 +0300 Subject: [PATCH] config: set MinPeers=0 for unit testchain Some RPC tests require network services to be enabled and running (i.e. notary pool subscriptions). Services can be launched either when node has reached synchronised state or when it does not have connected peers and MinPeers=0. The second one is the case of RPC tests. --- config/protocol.unit_testnet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/protocol.unit_testnet.yml b/config/protocol.unit_testnet.yml index 7644ef3f1..2f4b1e1d0 100644 --- a/config/protocol.unit_testnet.yml +++ b/config/protocol.unit_testnet.yml @@ -56,7 +56,7 @@ ApplicationConfiguration: PingTimeout: 90 MaxPeers: 50 AttemptConnPeers: 5 - MinPeers: 1 + MinPeers: 0 P2PNotary: Enabled: false UnlockWallet: