<p>It is possible, but very very hard. If someone has mined a block, you basically have to mine your version of it, which will take a while. You will then gave to fight against the clock as the other miners try to mine another block. 
If a block is mined, all the blocks before it are basically encrypted again. To modify a block, you will have to remine it and everything after it.</p>

<p><strong>Will it be possible to attack the blockchain by creating a broken block?</strong></p>

<p>No. The bitcoin protocol will not accept it. If you somehow configure your node to accept it, you'll have to get the other nodes to accept it too.</p>

CC BY-SA 3.0
2016-08-23T00:40:06.430Z
I am not talking about the case where miner X wants to insert wrong information into the block chain and have it considered valid. I am talking about the data in some block (not necessarily the last) in the blockchain being modified by someone. This block will now not be valid because the hash of the data will not match the block ID and its link to all later blocks in the chain will be broken. i.e. Miner X does not want their modified data to be considered valid and accepted into the blockchain. Miner X only wants to mess up the blockchain.
Ajoy Bhatia
CC BY-SA 3.0
2016-08-23T02:20:27.547Z
Oh, I see what you mean. This is impossible, as since the block will be invalid. The bitcoin protocol automatically rejects blocks like this.
Whyte the Weeabear
CC BY-SA 3.0
2016-08-22T23:57:55.427Z
2016-08-23T11:25:48.543Z
2016-08-23T11:25:48.543Z
Whyte the Weeabear
<p>Yes, your understanding is correct.  In fact, not only are there multiple copies, there are a <em>huge</em> number of copies: everyone who runs a <a href="https://bitcoin.org/en/full-node" rel="nofollow">full node</a> has a complete and validated copy of the entire block chain, which they will share with anybody over the Bitcoin peer-to-peer network on request.</p>

<p>In fact, if your hypothetical attacker starts sending out their corrupted block, most users won't even notice: their software will validate it, notice it's incorrect, figure there is just something wrong with the attacker's data, and request it from some other node instead.  </p>

CC BY-SA 3.0
2016-08-23T01:04:32.453Z
2016-08-23T01:04:32.453Z
Nate Eldredge
<p><strong>NOTE:</strong> I am a Bitcoin newbie. Please excuse (and correct) any wrong terminology in this post.</p>

<p>Can the transaction data in an earlier block be edited? Of course, it would break the verification of the Proof-of-Work because data will not match the final block digest. However, wouldn't the original data be lost, and the link to later blocks in the chain be broken? i.e. Anybody can figure out that the block has been messed with. However, how would the correct data be retrieved?</p>

<p>My guess is that there are multiple copies of the blockchain. Even if the data in a block in <strong>one</strong> copy of the blockchain is corrupted, other copies of the "true" blockchain will still be <em>"out there"</em> and will be accepted because they would be longer (have greater difficulty score) than the broken copy.</p>

<p>Is that correct?</p>

CC BY-SA 3.0
2016-08-23T08:17:37.287Z
related: [Can someone explain how the Bitcoin Blockchain works?](http://bitcoin.stackexchange.com/q/12427/5406)
Murch
<blockchain><block>
Modifying data in existing blocks
Ajoy Bhatia
# Modifying data in existing blocks

(Asked by: username_0 on 2016-08-22)

**NOTE:** I am a Bitcoin newbie. Please excuse (and correct) any wrong terminology in this post.

Can the transaction data in an earlier block be edited? Of course, it would break the verification of the Proof-of-Work because data will not match the final block digest. However, wouldn't the original data be lost, and the link to later blocks in the chain be broken? i.e. Anybody can figure out that the block has been messed with. However, how would the correct data be retrieved?

My guess is that there are multiple copies of the blockchain. Even if the data in a block in **one** copy of the blockchain is corrupted, other copies of the "true" blockchain will still be *"out there"* and will be accepted because they would be longer (have greater difficulty score) than the broken copy.

Is that correct?

**Tags:** blockchain, block

> **Comments:**
> **username_1**: related: [Can someone explain how the Bitcoin Blockchain works?](http://bitcoin.stackexchange.com/q/12427/5406)  

---

## 2 answers

### Answer by username_3 on 2016-08-23. Score: 4 | Accepted answer

Yes, your understanding is correct. In fact, not only are there multiple copies, there are a *huge* number of copies: everyone who runs a [full node](https://bitcoin.org/en/full-node) has a complete and validated copy of the entire block chain, which they will share with anybody over the Bitcoin peer-to-peer network on request.

In fact, if your hypothetical attacker starts sending out their corrupted block, most users won't even notice: their software will validate it, notice it's incorrect, figure there is just something wrong with the attacker's data, and request it from some other node instead.


---

### Answer by username_2 on 2016-08-22. Score: 0

It is possible, but very very hard. If someone has mined a block, you basically have to mine your version of it, which will take a while. You will then gave to fight against the clock as the other miners try to mine another block.
If a block is mined, all the blocks before it are basically encrypted again. To modify a block, you will have to remine it and everything after it.

**Will it be possible to attack the blockchain by creating a broken block?**

No. The bitcoin protocol will not accept it. If you somehow configure your node to accept it, you'll have to get the other nodes to accept it too.

> **Comments:**
> **username_0**: I am not talking about the case where miner X wants to insert wrong information into the block chain and have it considered valid. I am talking about the data in some block (not necessarily the last) in the blockchain being modified by someone. This block will now not be valid because the hash of the data will not match the block ID and its link to all later blocks in the chain will be broken. i.e. Miner X does not want their modified data to be considered valid and accepted into the blockchain. Miner X only wants to mess up the blockchain.  
> **username_2**: Oh, I see what you mean. This is impossible, as since the block will be invalid. The bitcoin protocol automatically rejects blocks like this.  

---

