<p>For a particular need I need to restart with the chain from a specific previous block.</p>
<p>I thought about using the invalidateblock command, but it's a bitcoin-cli command and if I run it on bitcoind it replies with an error and doesn't execute it.</p>
<p><strong>How can I invalidate a block on bitcoind, or how can I restart from a specific block on bitcoind?</strong></p>

CC BY-SA 4.0
2022-05-02T08:04:15.827Z
What was the exact error message in full?
RedGrittyBrick
CC BY-SA 4.0
2022-05-02T08:16:17.860Z
command not recognized. 
On bitcoind it just isn't recognized
Minatorecoin
CC BY-SA 4.0
2022-05-02T13:49:08.103Z
There is no console in bitcoind, unlike in bitcoin-qt.
Mercedes
CC BY-SA 4.0
2022-05-03T02:47:02.487Z
What exactly are you doing? Which exact commands are you issuing? Exactly where and how do you issue those commands? What exactly are you seeing in response? Please update the question.
Pieter Wuille
<bitcoind><block><invalidateblock>
How do I run the invalidateblock command on bitcoind?
Minatorecoin
# How do I run the invalidateblock command on bitcoind?

(Asked by: username_0 on 2022-05-02)

For a particular need I need to restart with the chain from a specific previous block.

I thought about using the invalidateblock command, but it's a bitcoin-cli command and if I run it on bitcoind it replies with an error and doesn't execute it.

**How can I invalidate a block on bitcoind, or how can I restart from a specific block on bitcoind?**

**Tags:** bitcoind, block, invalidateblock

> **Comments:**
> **username_1**: What was the exact error message in full?  
> **username_0**: command not recognized.  On bitcoind it just isn't recognized  
> **username_2**: There is no console in bitcoind, unlike in bitcoin-qt.  
> **username_3**: What exactly are you doing? Which exact commands are you issuing? Exactly where and how do you issue those commands? What exactly are you seeing in response? Please update the question.  

---

## 0 answers

