How can I build a bitcoinj checkpoint file like the Bitcoin-wallet checkpoints?

2 Answers 2


From this discussion: How to create a checkpoint file

Run mvn exec:java -Dexec.mainClass=com.google.bitcoin.tools.BuildCheckpoints in the tools/ directory from the bitcoinj repository.

BuildCheckpoints expects you to have a fully synced local Bitcoin-Qt/bitcoind instance running.


Providing an updated answer: Bitcoinj provides a tool for that. I'll assume you have downloaded bitcoinj repository:

Inside the 'tools' folder you will find a file called build-checkpoints.cmd (for Windows, or just build-checkpoints for Linux).

Try build-checkpoints -help to learn about the tool's options.

If you don't have a local bitcoin node, you should provide a node's ip using the -peer parameter.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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