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:
parent
4da8fbc301
commit
e8b31ed2df
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user