Skip to content

Commit

Permalink
TestFeeLevel: 50 connections can take too long to build these days, s…
Browse files Browse the repository at this point in the history
…o halve that value. Should still be enough for transaction propagation.
  • Loading branch information
schildbach committed Oct 13, 2015
1 parent 761834b commit 91a49e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/src/main/java/org/bitcoinj/tools/TestFeeLevel.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static void main(String[] args) throws Exception {
}

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());
Expand Down

0 comments on commit 91a49e6

Please sign in to comment.