<p>From this discussion: <a href="https://groups.google.com/forum/#!topic/bitcoinj/CycE9YTS7Bs" rel="nofollow">How to create a checkpoint file</a></p>

<p>Run <code>mvn exec:java -Dexec.mainClass=com.google.bitcoin.tools.BuildCheckpoints</code> in the tools/ directory from the <a href="https://code.google.com/p/bitcoinj/" rel="nofollow">bitcoinj repository</a>.</p>

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

CC BY-SA 3.0
2014-03-25T15:57:07.180Z
2014-03-25T15:57:07.180Z
freakyfractal
<p>Providing an updated answer:
Bitcoinj provides a tool for that. I'll assume you have downloaded <a href="https://github.com/bitcoinj/bitcoinj" rel="nofollow">bitcoinj repository</a>:</p>

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

<p>Try <em>build-checkpoints -help</em> to learn about the tool's options.</p>

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

CC BY-SA 3.0
2016-07-18T18:47:27.457Z
2016-07-18T18:47:27.457Z
Jonathas Carrijo
<p>How can I build a bitcoinj checkpoint file
like the <a href="https://github.com/schildbach/bitcoin-wallet/blob/master/wallet/assets/checkpoints" rel="nofollow">Bitcoin-wallet checkpoints</a>?</p>

<bitcoinj><android><checkpoints><bitcoin-wallet-app>
How to build a bitcoinj checkpoint file
Gordon
# How to build a bitcoinj checkpoint file

(Asked by: username_0 on 2014-02-22)

How can I build a bitcoinj checkpoint file
like the [Bitcoin-wallet checkpoints](https://github.com/schildbach/bitcoin-wallet/blob/master/wallet/assets/checkpoints)?

**Tags:** bitcoinj, android, checkpoints, bitcoin-wallet-app


---

## 2 answers

### Answer by username_1 on 2014-03-25. Score: 3

From this discussion: [How to create a checkpoint file](https://groups.google.com/forum/#!topic/bitcoinj/CycE9YTS7Bs)

Run `mvn exec:java -Dexec.mainClass=com.google.bitcoin.tools.BuildCheckpoints` in the tools/ directory from the [bitcoinj repository](https://code.google.com/p/bitcoinj/).

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


---

### Answer by username_2 on 2016-07-18. Score: 0

Providing an updated answer:
Bitcoinj provides a tool for that. I'll assume you have downloaded [bitcoinj repository](https://github.com/bitcoinj/bitcoinj):

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.


---

