Take the 2-minute tour ×
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It's 100% free, no registration required.

AttackerAlice has a BTC Wallet with 0 BTC. AccompliceBob has a BTC Wallet.

Is it possible to transfer 100 BTC from AttackerAlice to AccompliceBob?

Suppose a BadMiner accepted this as a valid transaction, and puts this fake transaction into a block, how will it be detected and rejected?

share|improve this question
    
to add to the question... Also if the BadMiner is able to create an additional block, will en.bitcoin.it/wiki/Protocol_rules be enough to keep the offending blocks out of the blockchain? –  Smagula Jan 31 at 11:47
add comment

2 Answers

up vote 7 down vote accepted

You can create fake transactions and blocks including fake transactions all day long if you want. Your problem would be getting other people to accept those blocks and they won't because they can very easily see that it contains fake (better word: invalid) transaction(s) and simply disregard those blocks completely.

The first invalid block wil never be accepted by any non-accomplice so it doesn't matter how many blocks are put on top of that, they won't be accepted either.

share|improve this answer
1  
got it.. since most of the network would have rejected the first block, the blockchain will not have the fake block.. other miners intending to add to the block chain will not see the fake block in majority of the cases... hence the honest block chain will grow faster and survive.. –  Smagula Jan 31 at 12:32
1  
actually it's better to say that nodes won't relay the transactions, nor include them in their block in the first place. –  Luca Matteis Jan 31 at 14:05
add comment

This cannot happen because of the way each transaction is designed. Every single transaction must reference an output of another transaction. Essentially you can only spend the money that you already have. You cannot create BTC out of thin-air.

The consensus algorithm is programmed in all nodes to only create coins out of thin-air based on the coinbase transaction, and all the transaction fees available in that block.

You can't just transfer 100 BTC out of nowhere, because all the nodes in the network would invalidate your transaction and probably ban your IP if you try to do so.

share|improve this answer
    
what if the BadMiner was able to create two blocks very quickly.. one fake and a followup legal one.. and sent both of them to the network.. –  Smagula Jan 31 at 12:03
    
Even if badminer got two blocks in a row he wouldn't be able to create coins out of thin air, he would only be able to double-spend coins he already has: en.bitcoin.it/wiki/… –  Luca Matteis Jan 31 at 12:06
    
not very clear sir.. what happens to the second legal block after the first fake block is rejected - suppose other miners start accepting the second block and grow the blockchain further..? –  Smagula Jan 31 at 12:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.