Bitcoin-qt database for BitcoinJ downloadBlockChain()

2

I am using bitcoinJ to develop a bitcoin based payment module for my project. I have the complete block chain downloaded/in sync with the network on the bitcoin-qt client. Is there a way I can use this bitcoin-qt blockchain database in my bitcoinJ application rather than waiting downloadBlockChain() method which is taking a huge amount of time.

PS : Any pointers on how long will it take downloadBlockChain() to complete the download?

Raghav Bali

Posted 2013-03-16T10:02:30.837

Reputation: 101

It might easily take a couple of days.o0'. 2013-03-16T12:51:19.560

@Lohoris Thanks. Just one quick question :If I use saveWalletToFile, the blockchain too gets saved, right?Raghav Bali 2013-03-17T06:47:41.160

No, it only saves the wallet, which is were your coins are saved.o0'. 2013-03-17T11:02:59.170

So it means every other time when I have to make a payment, the blockchain has to be downloaded all over again?Raghav Bali 2013-03-17T16:32:22.357

No of course, just don't delete it.o0'. 2013-03-17T16:51:26.393

No answers