3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-31 07:12:17 +00:00

Request 11 peers by default in wallet-template

This commit is contained in:
Mike Hearn 2013-11-10 20:05:37 +01:00
parent 4da8fbc301
commit e8b31ed2df

View File

@ -96,6 +96,7 @@ public class Main extends Application {
.startAndWait();
// Don't make the user wait for confirmations for now, as the intention is they're sending it their own money!
bitcoin.wallet().allowSpendingUnconfirmedTransactions();
bitcoin.peerGroup().setMaxConnections(11);
System.out.println(bitcoin.wallet());
controller.onBitcoinSetup();
mainWindow.show();