<p>You could use the <code>invalidateblock</code> RPC. Bitcoin will not bother checking validity of blocks past that an invalid block.</p>

CC BY-SA 3.0
2017-01-06T19:52:24.483Z
2017-01-06T19:52:24.483Z
Nick ODell
<p>I have synced about 200.000 blocks and that's enough for my purposes. So I want to use <code>bitcoincli</code>, but when it runs with enabled syncing (by default), my computer works to slow.</p>

<p><strong>How can I disable syncing for some time?</strong> Probably I need to set up something in bitcoin.conf, but I don't know what.</p>

CC BY-SA 3.0
2017-01-06T18:32:37.613Z
What functionality do you need? If you don't need connectivity to the network at all, you could just use -connect=0 -nolisten.
Pieter Wuille
<synchronization><bitcoin-cli><bitcoin.conf><invalidateblock>
How can I run bitcoin-cli with disabled syncing?
Sergey Potekhin
# How can I run bitcoin-cli with disabled syncing?

(Asked by: username_0 on 2017-01-06)

I have synced about 200.000 blocks and that's enough for my purposes. So I want to use `bitcoincli`, but when it runs with enabled syncing (by default), my computer works to slow.

**How can I disable syncing for some time?** Probably I need to set up something in bitcoin.conf, but I don't know what.

**Tags:** synchronization, bitcoin-cli, bitcoin.conf, invalidateblock

> **Comments:**
> **username_1**: What functionality do you need? If you don't need connectivity to the network at all, you could just use -connect=0 -nolisten.  

---

## 1 answers

### Answer by username_2 on 2017-01-06. Score: 1

You could use the `invalidateblock` RPC. Bitcoin will not bother checking validity of blocks past that an invalid block.


---

