<p>What different versions of the protocol/network? All protocol changes were backwards compatible, so there really is only one Bitcoin protocol. There are a few op_codes that old nodes don't interpret correctly, but they're fine with that.</p>

<p>Unless you're talking about altcoins and Bitcoin, they don't have the same seed nodes, so they wouldn't find each other. Even if they were, they'd ban each other for relaying invalid information.</p>

<p>This it's for example what happens if a  protocol is upgraded that is not backwards compatible. Old nodes see that information from new nodes doesn't adhere to the rules and stop talking to them.</p>

CC BY-SA 3.0
2017-05-27T15:36:46.697Z
I think your second answer had what I was looking for. I was thinking in the sense that someone maliciously produced a new bitcoin node with a modified version of the protocol that only they run. But if, as you say, any node with invalid information is banned, that makes sense.
master565
CC BY-SA 3.0
2017-05-27T06:39:34.557Z
2017-05-27T16:23:04.037Z
2017-05-27T16:23:04.037Z
Murch
<p>As stated in the title. How do I know that when my node gets data from, or sends data to another node, that this other node is on the same version of the protocol? What prevents my node and their node from getting confused and communicating data between different versions of the network? </p>

<protocol><nodes>
How does my bitcoin node know that a node it connects to is running the same version of the protocol?
master565
# How does my bitcoin node know that a node it connects to is running the same version of the protocol?

(Asked by: username_0 on 2017-05-27)

As stated in the title. How do I know that when my node gets data from, or sends data to another node, that this other node is on the same version of the protocol? What prevents my node and their node from getting confused and communicating data between different versions of the network?

**Tags:** protocol, nodes


---

## 1 answers

### Answer by username_1 on 2017-05-27. Score: 1 | Accepted answer

What different versions of the protocol/network? All protocol changes were backwards compatible, so there really is only one Bitcoin protocol. There are a few op\_codes that old nodes don't interpret correctly, but they're fine with that.

Unless you're talking about altcoins and Bitcoin, they don't have the same seed nodes, so they wouldn't find each other. Even if they were, they'd ban each other for relaying invalid information.

This it's for example what happens if a protocol is upgraded that is not backwards compatible. Old nodes see that information from new nodes doesn't adhere to the rules and stop talking to them.

> **Comments:**
> **username_0**: I think your second answer had what I was looking for. I was thinking in the sense that someone maliciously produced a new bitcoin node with a modified version of the protocol that only they run. But if, as you say, any node with invalid information is banned, that makes sense.  

---

