If you're only interested in transactions from blocks higher than a
specific height, you could use a checkpoint at (or near) that height.
See https://bitcoinj.github.io/speeding-up-chain-sync#checkpointing


On 11/08/2017 08:17 PM, Mikhail Kadysev wrote:
> I have a task: find all transactions to bitcoin address and store some
> information about them in my DB. I use bitcoinj. In simple way I create
> blockstore, blockchain and wallet
> with /CoinsReceivedEventListener/ and /TransactionConfidenceEventListener/.
> But if I have an exception in listener, blockhain doesn't stop to
> download. And to trigger listener again I should to redownload all
> blockchain what is critical wasting of resources.
> 
> 
> Can someone show me the better way to collect information about
> transactions to addresses (outputs) using bitcoinj? It will be better if
> information will be collected only with block higher than N. 
> 
> Thank you very much!
> 
> 
> -- 
> 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 [email protected]
> <mailto:[email protected]>.
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to