I don't see RefreshWallet connecting to peers. It didn't even discover
peers. Is your network restricting DNS traffic somehow?

Without updating the blockchain it will never learn of the incoming
payment and this is why the balance is zero.



On 03/21/2017 06:49 AM, Ramez Az wrote:
> Hi,
> 
> I have created wallet using WalletTool program and transfered some cons
> into that from http://faucet.xeno-genesis.com/. I am able to see the
> transaction detail
> in 
> https://testnet.blockexplorer.com/address/mjhvWeeoPrAegY5od5rKdjCb4mPZhzp11Y.
> 
> When i try to spend from this
> wallet, org.bitcoinj.core.InsufficientMoneyException: Insufficient
> money,  missing 0.00005 BTC is getting thrown and balance is also
> getting displayed as 0. Then i tried to use the refresh the wallet using
> RefereshWallet tool. The program seems hung at
> peerGroup.downloadBlockChain(); method. The below log are getting generated.
> 
> The same problem happened while using WalletAppKit.awaitRunning(); Can
> you please advise what might be the issue and how should be resolved the
> issue. Please find the wallet file attached for your reference.
> 
> Mar 21, 2017 10:46:28 AM org.bitcoinj.core.AbstractBlockChain <init>
> INFO: chain head is at height 0:
>  block: 
>    hash: 000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943
>    version: 1
>    previous block:
> 0000000000000000000000000000000000000000000000000000000000000000
>    merkle root:
> 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b
>    time: 1296688602 (2011-02-02T23:16:42Z)
>    difficulty target (nBits): 486604799
>    nonce: 414098458
> 
> Mar 21, 2017 10:46:28 AM org.bitcoinj.core.AbstractBlockChain addWallet
> WARNING: Wallet/chain height mismatch: -1 vs 0
> Mar 21, 2017 10:46:28 AM org.bitcoinj.core.AbstractBlockChain addWallet
> WARNING: Hashes: null vs
> 000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943
> Mar 21, 2017 10:46:29 AM org.bitcoinj.core.PeerGroup$8 run
> INFO: Starting ...
> Mar 21, 2017 10:46:30 AM org.bitcoinj.core.PeerGroup
> maybeCheckForLocalhostPeer
> INFO: Localhost peer not detected.
> Mar 21, 2017 10:46:30 AM org.bitcoinj.core.PeerGroup discoverPeers
> INFO: Peer discovery took 66.93 μs and returned 0 items
>  
> 
> Thanks,
> Ramesh A
> 
> -- 
> 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
> <mailto:bitcoinj+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.


-- 
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