<p>Other nodes would not relay or accept invalid blocks that were produced by the modified node.</p>
<p>Each node creates their own copy of the blockchain. Each node checks (verifies/validates) all the data it receives to the fullest extent possible. No node trusts any other node. It is because each node applies the same set of rules that they all end up with the same data in their copy of the blockchain. Nodes that apply different rules end up forming a separate &quot;forked&quot; network with a different &quot;forked&quot; blockchain.</p>

CC BY-SA 4.0
2022-04-25T11:24:18.957Z
2022-04-25T11:24:18.957Z
RedGrittyBrick
<p>You are correct, when the new block is broadcasted, all the other nodes would reject it if it doesn't follow the consensus rules, would not add it to the blockchain nor will they transmit it.</p>
<p>In fact, the &quot;software&quot; itself is not important (there are multiple Bitcoin node clients), just like many software pieces can create JPEG photos (ranging from your phone, computer, camera, etc.), the protocol itself depends on what the nodes agree on.</p>
<p>You would be essentially creating a hard fork, and if for any reason all the nodes and miners use your &quot;re-written software&quot;, and is accepted by everyone, then at that point that <em>new</em> Bitcoin probably becomes... Bitcoin.</p>

CC BY-SA 4.0
2022-04-25T11:34:29.520Z
2022-04-25T13:48:35.167Z
2022-04-25T13:48:35.167Z
Handsome Latino
<p>For example, if someone was running a full node and somehow re-wrote the software so that blocks and transactions which did not abide by Bitcoin's consensus rules would be able to be relayed, what would stop these blocks from joining the Blockchain?</p>
<p><strong>Is it the fact that these blocks are broadcasted to other nodes that stops the invalid block from joining. For instance, if the invalid block is relayed to a non-corrupt full node and this full node rejects it, then it won't be added &lt;-- is this true?</strong></p>

<bitcoin-core><bitcoind><full-node>
What stops someone from tampering with node software and hence would be able to disrupt the blockchain?
Jamo
# What stops someone from tampering with node software and hence would be able to disrupt the blockchain?

(Asked by: username_0 on 2022-04-25)

For example, if someone was running a full node and somehow re-wrote the software so that blocks and transactions which did not abide by Bitcoin's consensus rules would be able to be relayed, what would stop these blocks from joining the Blockchain?

**Is it the fact that these blocks are broadcasted to other nodes that stops the invalid block from joining. For instance, if the invalid block is relayed to a non-corrupt full node and this full node rejects it, then it won't be added <-- is this true?**

**Tags:** bitcoin-core, bitcoind, full-node


---

## 2 answers

### Answer by username_1 on 2022-04-25. Score: 1

Other nodes would not relay or accept invalid blocks that were produced by the modified node.

Each node creates their own copy of the blockchain. Each node checks (verifies/validates) all the data it receives to the fullest extent possible. No node trusts any other node. It is because each node applies the same set of rules that they all end up with the same data in their copy of the blockchain. Nodes that apply different rules end up forming a separate "forked" network with a different "forked" blockchain.


---

### Answer by username_2 on 2022-04-25. Score: 0

You are correct, when the new block is broadcasted, all the other nodes would reject it if it doesn't follow the consensus rules, would not add it to the blockchain nor will they transmit it.

In fact, the "software" itself is not important (there are multiple Bitcoin node clients), just like many software pieces can create JPEG photos (ranging from your phone, computer, camera, etc.), the protocol itself depends on what the nodes agree on.

You would be essentially creating a hard fork, and if for any reason all the nodes and miners use your "re-written software", and is accepted by everyone, then at that point that *new* Bitcoin probably becomes... Bitcoin.


---

