On 10/14/2017 06:27 PM, Edik Edik wrote: > What listener do I use to pull any new blockchain additions? > > Can't seem to locate anything in the library to be able to pull this > information in real-time.
It depends a bit on your usecase. Generally, you create BlockStore/BlockChain objects and fire up a PeerGroup. You specifically asked for new blocks so BlockChain.addNewBestBlockListener() might be interesting to you. Have a look at the BuildCheckpoints tool for a code example. -- 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.