user2306: I have a script that uses Bitcoin's RPC interface and takes a lot of CPU to run, and I don't want Bitcoin to be verifying blocks while I do it. Is there a config setting or an RPC call I can use to stop it from syncing?

user24925: bitcoin-cli invalidateblock `bitcoin-cli getbestblockhash`

or
bitcoind -maxconnections=0


2306: <p>I have a script that uses Bitcoin's RPC interface and takes a lot of CPU to run, and I don't want Bitcoin to be verifying blocks while I do it. Is there a config setting or an RPC call I can use to stop it from syncing?</p>
 24925: <pre><code>bitcoin-cli invalidateblock `bitcoin-cli getbestblockhash`
</code></pre>

<p>or</p>

<pre><code>bitcoind -maxconnections=0
</code></pre>
