mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-09 16:04:54 +01: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:
parent
761834bc18
commit
91a49e66dd
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue