Hi! Thanks for answer. But this is actually what I want. As I understand checkpoints is the way to fast creation of BlockChain from downloaded backup. May be you can offer the other way? I use *PostgresFullPrunedBlockStore *and* BlockChain*. And I need method like *fun getTransactionFrom(startBlock: Long): List<Transaction> *. If it isn't possible to use startBlock as a parameter may be you can offer other checkpoint method? Other words I need a way to get all Approved transactions from point A to point B. It will be nice to add filter be wallet's ECKeys. Thank you very much!
среда, 8 ноября 2017 г., 22:44:52 UTC+3 пользователь Andreas Schildbach написал: > > 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 bitcoinj+u...@googlegroups.com <javascript:> > > <mailto:bitcoinj+u...@googlegroups.com <javascript:>>. > > 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.