<p>To reset the peer database to the initial state, stop Bitcoin Core, delete the peers.dat file, and start Bitcoin Core again.</p>

CC BY-SA 3.0
2017-12-15T16:04:27.617Z
2017-12-15T16:04:27.617Z
Ava Chow
<p>I think I've just put the wrong node IPs through console and I forgot all the IPs.</p>

<p>I would like to reset all the node information to the initial.</p>

<p>Should I just delete peers.dat?</p>

CC BY-SA 3.0
2017-12-15T14:13:43.457Z
What do you mean by "reset node information"? Do you mean to have Bitcoin Core forget all of the nodes it knows about and redo peer discovery?
Ava Chow
CC BY-SA 3.0
2017-12-15T14:28:37.710Z
@AndrewChow I want to return to the initial state because I've put wrong chain's IP through console by command 'addnode'. I am worrying about syncing error.
bitcoinlearner
<bitcoin-core><nodes><peers>
How to reset node information in Bitcoin Core?
bitcoinlearner
# How to reset node information in Bitcoin Core?

(Asked by: username_0 on 2017-12-15)

I think I've just put the wrong node IPs through console and I forgot all the IPs.

I would like to reset all the node information to the initial.

Should I just delete peers.dat?

**Tags:** bitcoin-core, nodes, peers

> **Comments:**
> **username_1**: What do you mean by "reset node information"? Do you mean to have Bitcoin Core forget all of the nodes it knows about and redo peer discovery?  
> **username_0**: @AndrewChow I want to return to the initial state because I've put wrong chain's IP through console by command 'addnode'. I am worrying about syncing error.  

---

## 1 answers

### Answer by username_1 on 2017-12-15. Score: 1 | Accepted answer

To reset the peer database to the initial state, stop Bitcoin Core, delete the peers.dat file, and start Bitcoin Core again.


---

