How can I run bitcoin-cli with disabled syncing?

1

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.

Sergey Potekhin

Posted 2017-01-06T17:35:18.773

Reputation: 285

3What functionality do you need? If you don't need connectivity to the network at all, you could just use -connect=0 -nolisten.Pieter Wuille 2017-01-06T18:32:37.613

Answers

1

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

Nick ODell

Posted 2017-01-06T17:35:18.773

Reputation: 26 536