mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-23 22:46:56 +01:00
WalletTemplate: use Tor by default on testnet.
This commit is contained in:
parent
b1176e0fdf
commit
e4e8271b47
1 changed files with 2 additions and 2 deletions
|
@ -123,10 +123,10 @@ public class Main extends Application {
|
|||
// Checkpoint files are made using the BuildCheckpoints tool and usually we have to download the
|
||||
// last months worth or more (takes a few seconds).
|
||||
bitcoin.setCheckpoints(getClass().getResourceAsStream("checkpoints"));
|
||||
// As an example!
|
||||
// bitcoin.useTor();
|
||||
} else if (params == TestNet3Params.get()) {
|
||||
bitcoin.setCheckpoints(getClass().getResourceAsStream("checkpoints.testnet"));
|
||||
// As an example!
|
||||
bitcoin.useTor();
|
||||
}
|
||||
bitcoin.setDownloadListener(controller.progressBarUpdater())
|
||||
.setBlockingStartup(false)
|
||||
|
|
Loading…
Add table
Reference in a new issue