Hi

Am stuck

import org.bitcoinj.net.discovery.DnsDiscovery; //cant find this

my pom file
<dependency>
    <groupId>org.bitcoinj</groupId>
    <artifactId>bitcoinj-core</artifactId>
    <version>0.14.5</version>
</dependency>
<!-- https://mvnrepository.com/artifact/net.sf.jopt-simple/jopt-simple -->
<dependency>
    <groupId>net.sf.jopt-simple</groupId>
    <artifactId>jopt-simple</artifactId>
    <version>4.3</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.bitcoinj/bitcoinj-tools -->
<dependency>
    <groupId>org.bitcoinj</groupId>
    <artifactId>bitcoinj-tools</artifactId>
    <version>0.14.5</version>
</dependency>

any help please?



On Thu, Nov 9, 2017 at 6:51 AM, Nana <ringtingt...@gmail.com> wrote:

> Hi Andreas,
>
> A few more things then i promise i wont bother again
>
> 1. how does one know if a new block is marked as "orphaned"?
> 2. through bitcoinj, can you get all block details, well height and then
> the timestamp? are these timestamps all UTC timezone? or the timezone of
> who finds the block?
>
> Great thanks
>
> Regards,
> Neil
>
>
> On Wed, Nov 8, 2017 at 7:18 PM, Nana <ringtingt...@gmail.com> wrote:
>
>> great thanks appreciate it!
>>
>>
>> On Wed, Nov 8, 2017 at 6:46 PM, Andreas Schildbach <andr...@schildbach.de
>> > wrote:
>>
>>> Have a look at NewBestBlockListener and the
>>> org.bitcoinj.core.AbstractBlockChain.addNewBestBlockListener() method.
>>> If you prefer an example, the BuildCheckpoints tool (in the tools
>>> subproject) has some code that does this.
>>>
>>>
>>> On 11/07/2017 11:24 AM, ringtingt...@gmail.com wrote:
>>> >
>>> > Hi,
>>> >
>>> > Am looking on how to get notified of the arrival of a new block. Can
>>> this
>>> > be done? will it contain the block height info and the relay as well as
>>> > timestamp?
>>> >
>>> > thanks
>>> >
>>>
>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "bitcoinj" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>>> pic/bitcoinj/Y4Z-v782D04/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> bitcoinj+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> massacre
>>
>
>
>
> --
> massacre
>



-- 
massacre

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