3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-12 18:25:51 +00:00

TestFeeLevel: 50 connections can take too long to build these days, so halve that value. Should still be enough for transaction propagation.

This commit is contained in:
Andreas Schildbach 2015-10-13 09:49:59 +02:00
parent 761834bc18
commit 91a49e66dd

View File

@ -52,7 +52,7 @@ public class TestFeeLevel {
}
private static void go(Coin feeToTest, int numOutputs) throws InterruptedException, java.util.concurrent.ExecutionException, InsufficientMoneyException {
kit.peerGroup().setMaxConnections(50);
kit.peerGroup().setMaxConnections(25);
if (kit.wallet().getBalance().compareTo(feeToTest) < 0) {
System.out.println("Send some money to " + kit.wallet().currentReceiveAddress());