mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-10 09:20:04 +01:00
Request 11 peers by default in wallet-template
This commit is contained in:
parent
4da8fbc301
commit
e8b31ed2df
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue