mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-12 10:15:52 +00:00
WalletTemplate: use Tor by default on testnet.
This commit is contained in:
parent
b1176e0fdf
commit
e4e8271b47
@ -123,10 +123,10 @@ public class Main extends Application {
|
|||||||
// Checkpoint files are made using the BuildCheckpoints tool and usually we have to download the
|
// Checkpoint files are made using the BuildCheckpoints tool and usually we have to download the
|
||||||
// last months worth or more (takes a few seconds).
|
// last months worth or more (takes a few seconds).
|
||||||
bitcoin.setCheckpoints(getClass().getResourceAsStream("checkpoints"));
|
bitcoin.setCheckpoints(getClass().getResourceAsStream("checkpoints"));
|
||||||
// As an example!
|
|
||||||
// bitcoin.useTor();
|
|
||||||
} else if (params == TestNet3Params.get()) {
|
} else if (params == TestNet3Params.get()) {
|
||||||
bitcoin.setCheckpoints(getClass().getResourceAsStream("checkpoints.testnet"));
|
bitcoin.setCheckpoints(getClass().getResourceAsStream("checkpoints.testnet"));
|
||||||
|
// As an example!
|
||||||
|
bitcoin.useTor();
|
||||||
}
|
}
|
||||||
bitcoin.setDownloadListener(controller.progressBarUpdater())
|
bitcoin.setDownloadListener(controller.progressBarUpdater())
|
||||||
.setBlockingStartup(false)
|
.setBlockingStartup(false)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user