mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-15 11:45: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:
parent
761834bc18
commit
91a49e66dd
@ -52,7 +52,7 @@ public class TestFeeLevel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static void go(Coin feeToTest, int numOutputs) throws InterruptedException, java.util.concurrent.ExecutionException, InsufficientMoneyException {
|
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) {
|
if (kit.wallet().getBalance().compareTo(feeToTest) < 0) {
|
||||||
System.out.println("Send some money to " + kit.wallet().currentReceiveAddress());
|
System.out.println("Send some money to " + kit.wallet().currentReceiveAddress());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user