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?

  • It might easily take a couple of days. – o0'. Mar 16 '13 at 12:51
  • @Lohoris Thanks. Just one quick question :If I use saveWalletToFile, the blockchain too gets saved, right? – Raghav Bali Mar 17 '13 at 6:47
  • No, it only saves the wallet, which is were your coins are saved. – o0'. Mar 17 '13 at 11:02
  • So it means every other time when I have to make a payment, the blockchain has to be downloaded all over again? – Raghav Bali Mar 17 '13 at 16:32
  • No of course, just don't delete it. – o0'. Mar 17 '13 at 16:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.