Hi Andreas,
                  I am new to bitcoinj and I am trying to run the bitcoinj 
from Git.I want to learn how bitcoinj works but I am not getting any 
resources on bitcoinj.
When I try to run the code of bitcoinj with production settings that is 
MainNetParams for the wallettemplate It displays the app with the 
address,But I need to buy some
bitcoins So I change to TestNet3Params and I get the below error 
message.Please guide me what am I doing wrong here?






On Friday, September 29, 2017 at 10:39:21 PM UTC+5:30, Vijaya Kalkoti wrote:
>
> I am able to run the MainNetParams but not TestNet3Params.What are the 
> changes I need to perform to make it run as MainNetParams.
>
> Please find the logs and let me know what am I doing wrong?
>
>
> 22:35:20 13 Context.<init>: Creating bitcoinj 0.14.5 context.
> 22:35:20 20 WalletSetPasswordController.lambda$0: Doing background test 
> key derivation
> 22:35:21 21 WalletAppKit.startUp: Starting up with directory = .
> 22:35:22 21 AbstractBlockChain.<init>: chain head is at height 1147104:
>  block: 
>    hash: 0000000000000a1c34e39a6ff2c396c9c4cede41897c7475b47438ef94a7e6e0
>    version: 536870912 (BIP34, BIP66, BIP65)
>    previous block: 
> 000000000000343594e671158b6e1b4b6499f6ad66e2aeabf1f6d295d3dba850
>    merkle root: 
> af0e27e955aa0905dd7e9b63164cd297b0d0b36a6fb69f2b4fafa81dd613b8d2
>    time: 1497962943 (2017-06-20T12:49:03Z)
>    difficulty target (nBits): 439714496
>    nonce: 2936294172
>
> 22:35:23 21 DRMWorkaround.maybeDisableExportControls: Failed to deactivate 
> AES-256 barrier logic, Tor mode/BIP38 decryption may crash if this JVM 
> requires it: Can not set static final boolean field 
> javax.crypto.JceSecurity.isRestricted to (boolean)false
> 22:35:23 21 AbstractBlockChain.addWallet: Wallet/chain height mismatch: -1 
> vs 1147104
> 22:35:23 21 AbstractBlockChain.addWallet: Hashes: null vs 
> 0000000000000a1c34e39a6ff2c396c9c4cede41897c7475b47438ef94a7e6e0
> 22:35:23 25 PeerGroup$8.run: Starting ...
> 22:35:23 25 PeerGroup$8.run: Starting Tor/Orchid ...
> 22:35:23 25 TorClient.start: Starting Orchid (version: 1.0.0)
> 22:35:23 26 DirectoryImpl.loadFromStore: Loading cached network 
> information from disk
> 22:35:23 26 DirectoryImpl.loadFromStore: Loading certificates
> 22:35:23 27 CircuitCreationTask.checkCircuitsForCreation: Cannot build 
> circuits because we don't have enough directory information
> 22:35:24 26 DirectoryImpl.loadFromStore: Loading consensus
> 22:35:27 26 ConsensusDocumentImpl.verifySingleAuthority: Consensus signed 
> by unrecognized directory authority: 
> 0232af901c31a04ee9848595af9bb7620d4c5b2e
> 22:35:27 26 DirectoryImpl.loadFromStore: Loading microdescriptor cache
> 22:35:30 26 DirectoryImpl.loadFromStore: loading state file
> 22:35:34 25 PeerGroup$8.run: Tor ready
> 22:35:34 25 PeerGroup$4.go: Localhost peer detected, trying to use it 
> instead of P2P discovery
> 22:35:34 25 PeerGroup.connectTo: Attempting connection to 
> [127.0.0.1]:18333     (0 connected, 1 pending, 0 max)
> 22:35:44 20 KeyCrypterScrypt.deriveKey: Deriving key took 23.35 s for 
> 32768 scrypt iterations.
> 22:35:44 20 WalletSetPasswordController.lambda$0: Background test key 
> derivation took 23371msec
> 22:36:34 35 PeerSocketHandler.timeoutOccurred: [127.0.0.1]:18333: Timed out
> 22:36:34 35 PeerGroup.handlePeerDeath: [127.0.0.1]:18333: Peer died      
> (0 connected, 0 pending, 1 max)
>

-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bitcoinj+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to