How to build a bitcoinj checkpoint file

2

1

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

Gordon

Posted 2014-02-22T12:05:52.343

Reputation: 21

Answers

3

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.

freakyfractal

Posted 2014-02-22T12:05:52.343

Reputation: 31

0

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.

Jonathas Carrijo

Posted 2014-02-22T12:05:52.343

Reputation: 131