Dont store disconnected nodes with wrong version/invalid data...

This commit is contained in:
Manfred Karrer 2016-02-04 19:00:16 +01:00
parent a264fa4e0b
commit 2c8bc3053b
8 changed files with 99 additions and 68 deletions

View file

@ -198,7 +198,7 @@ public class WalletService {
// TODO Get bitcoinj running over our tor proxy. BlockingClientManager need to be used to use the socket
// from jtorproxy. To get supported it via nio / netty will be harder
if (!params.getId().equals(NetworkParameters.ID_REGTEST) && useTor)
if (useTor && params.getId().equals(NetworkParameters.ID_MAINNET))
walletAppKit.useTor();
// Now configure and start the appkit. This will take a second or two - we could show a temporary splash screen