3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-07 14:54:15 +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(); .startAndWait();
// Don't make the user wait for confirmations for now, as the intention is they're sending it their own money! // 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.wallet().allowSpendingUnconfirmedTransactions();
bitcoin.peerGroup().setMaxConnections(11);
System.out.println(bitcoin.wallet()); System.out.println(bitcoin.wallet());
controller.onBitcoinSetup(); controller.onBitcoinSetup();
mainWindow.show(); mainWindow.show();