1

I am using litecoinj which is forked from bitcoinj but compared to bitcoinj, the wallet creation and block synching is slow when using litecoinj. So, I searched for a solution and found a post that suggests to download checkpoints in a file and pass the file while creating wallet, but I guess it's not working.

kit.setCheckpoints( new FileInputStream("checkpoints"));

How can I speed up the syncing of litecoinj?

0

So after digging I got the solution, using this kit.setCheckpoints( new FileInputStream("checkpoints")); it was checking the file in the same package so to provide the exact path I have used kit.setCheckpoints( ReadProperties.class.getClassLoader().getResourceAsStream("checkpoints"));

Not the answer you're looking for? Browse other questions tagged or ask your own question.