Thanks for your information.

I am learning/researching for writing client side programs using bitcoinj 
API. I am just trying to post some transaction and get it reflected in my 
wallet based on my request only and dont want my system to be in the spv 
node. Can i achieve this without opening the port 18333/8333. 

Thanks,
Ramesh A

On Friday, April 7, 2017 at 2:15:03 PM UTC+5:30, Tobias B. wrote:
>
> Hey,
>
> your wallet is basically an spv bitcoin node that communicates with the 
> rest of the bitcoin network. It constantly asks other nodes in the networks 
> for new information. To not rely on one single node that could in this case 
> tell you anything, bitcoinj will try to connect to a number of random nodes 
> (e.g. 12) and ask them for information. When you run in test mode it will 
> do that via port 18333 and in mainnet mode via port 8333. The port 53 is 
> needed to get the ip address of some nodes via their domain name. You need 
> to have some list of initial nodes - you have to start somewhere.
>
> BR
>
> Tobias
>
> On Friday, April 7, 2017 at 4:03:13 AM UTC+2, Ramez Az wrote:
>>
>> Hi,
>>
>> What is the purpose of opening these ports and how it will be used.
>>
>> Thanks,
>> Ramesh A
>>
>> On Thursday, March 23, 2017 at 10:37:07 PM UTC+5:30, Ramez Az wrote:
>>>
>>> I have firewall in my network. Anything should we need to do something 
>>> on firewall?
>>>
>>> On Tuesday, March 21, 2017 at 3:02:39 PM UTC+5:30, Andreas Schildbach 
>>> wrote:
>>>>
>>>> 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+u...@googlegroups.com 
>>>> > <mailto:bitcoinj+u...@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