Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: farlack on December 09, 2012, 04:11:56 AM



Title: Sending fake coins?
Post by: farlack on December 09, 2012, 04:11:56 AM
I read everywhere when receiving coins, wait for at least 6 blocks, whats this about? Is it possible to send fake coins, have them show up in my wallet, and go away later?

Normally I get the coins within 60 seconds, can they be reversed?


Title: Re: Sending fake coins?
Post by: CIYAM on December 09, 2012, 04:23:05 AM
Understand that the confirmations are required in order to prevent a "double-spend".

So although you can never receive a "fake" bitcoin (either the tx output is valid or not) it is possible (although not highly probable) that you could be sent a tx that later becomes "invalid" due to another tx using the same input having been sent at roughly the same time.

Certainly for high value txs I would recommend waiting for at least 6 confirmations.


Title: Re: Sending fake coins?
Post by: farlack on December 09, 2012, 04:24:16 AM
So if the coins are in my wallet, they're okay? Or can they disappear?


Title: Re: Sending fake coins?
Post by: CIYAM on December 09, 2012, 04:27:10 AM
So if the coins are in my wallet, they're okay? Or can they disappear?

They can indeed "disappear" if they are later detected as being double-spends.


Title: Re: Sending fake coins?
Post by: farlack on December 09, 2012, 04:38:34 AM
So if the coins are in my wallet, they're okay? Or can they disappear?

They can indeed "disappear" if they are later detected as being double-spends.


Cool, thanks that's all I needed to know.


Title: Re: Sending fake coins?
Post by: Rudd-O on December 09, 2012, 04:40:42 AM
If the coins appear in your wallet and remain there after six confirmations, they can never be taken away.


Title: Re: Sending fake coins?
Post by: John (John K.) on December 09, 2012, 04:59:11 AM
If the coins appear in your wallet and remain there after six confirmations, they can never be taken away.
They can. However, the more confirmations you have, the less possibility of this happening.  Every 'confirmation' adds a level of security to the transaction, and a massive amount of resources would be needed to turn back each transaction. For daily uses and moderate transactions - say 1000 BTC and below - 1-2 confirmations are what you'll only probably need.


Title: Re: Sending fake coins?
Post by: Rudd-O on December 09, 2012, 10:31:42 AM
If the coins appear in your wallet and remain there after six confirmations, they can never be taken away.
They can. However, the more confirmations you have, the less possibility of this happening.  Every 'confirmation' adds a level of security to the transaction, and a massive amount of resources would be needed to turn back each transaction. For daily uses and moderate transactions - say 1000 BTC and below - 1-2 confirmations are what you'll only probably need.

Statistically, the Sun is more likely to "turn off" tomorrow than such an event happening.  For all practical purposes and intents, no one can scam people after six confirmations.

This is why I feel justified in saying, with near absolute certainty, "those coins can never be taken".

If you do not believe this is true, you should not be using Bitcoin.


Title: Re: Sending fake coins?
Post by: CIYAM on December 09, 2012, 10:53:36 AM
I don't believe that this is correct in the case of a successful >50% attack.

AFAIA if someone has enough hashing resources that they can mine blocks much faster than the rest of the network combined then if they simply keep mining new blocks (even with no tx's if they like) without publishing them they can let the blockchain grow as many blocks as they like and then suddenly announce a longer chain (this attack can only go back as far as a "checkpoint" AFAIA).


Title: Re: Sending fake coins?
Post by: FreeMoney on December 09, 2012, 11:03:25 AM
If the coins appear in your wallet and remain there after six confirmations, they can never be taken away.
They can. However, the more confirmations you have, the less possibility of this happening.  Every 'confirmation' adds a level of security to the transaction, and a massive amount of resources would be needed to turn back each transaction. For daily uses and moderate transactions - say 1000 BTC and below - 1-2 confirmations are what you'll only probably need.

Statistically, the Sun is more likely to "turn off" tomorrow than such an event happening.  For all practical purposes and intents, no one can scam people after six confirmations.

This is why I feel justified in saying, with near absolute certainty, "those coins can never be taken".

If you do not believe this is true, you should not be using Bitcoin.

It's not true. If some entity has more hashing power than all honest miners they can eventually catch up from any number of blocks. It is no where near the level of "sun turning off".


Title: Re: Sending fake coins?
Post by: Rudd-O on December 09, 2012, 11:40:08 AM
If the coins appear in your wallet and remain there after six confirmations, they can never be taken away.
They can. However, the more confirmations you have, the less possibility of this happening.  Every 'confirmation' adds a level of security to the transaction, and a massive amount of resources would be needed to turn back each transaction. For daily uses and moderate transactions - say 1000 BTC and below - 1-2 confirmations are what you'll only probably need.

Statistically, the Sun is more likely to "turn off" tomorrow than such an event happening.  For all practical purposes and intents, no one can scam people after six confirmations.

This is why I feel justified in saying, with near absolute certainty, "those coins can never be taken".

If you do not believe this is true, you should not be using Bitcoin.

It's not true. If some entity has more hashing power than all honest miners they can eventually catch up from any number of blocks. It is no where near the level of "sun turning off".

You two are changing the subject.

The question wasn't "under what circumstances is the Bitcoin system compromised" -- it was "given the current circumstances, how likely it is that I will be scammed out of my coins now after they have received six confirmations.

So, you two need to be Bayesians, respond to OP honestly, and stop introducing nonsensical speculation to a question that didn't ask for it.


Title: Re: Sending fake coins?
Post by: CIYAM on December 09, 2012, 11:44:11 AM
So, you two need to be Bayesians, respond to OP honestly, and stop introducing nonsensical speculation to a question that didn't ask for it.

Hmm... am not quite sure how to be a "Bayesian" (although I am guessing you might be referring to the Baysian equation algos used for identifying spam).

It isn't actually as nonsensical as you think - one of the core devs was just posting the other day about the weakness of the Bitcoin network.

Don't kid yourselves - if the PRC government decided to prevent the export of ASIC and keep it to use on Bitcoin mining themselves then the >50% could happen in as little as one month.


Title: Re: Sending fake coins?
Post by: Rudd-O on December 09, 2012, 11:53:15 AM
Being a Bayesian means not reasoning from priors not requested in the question.


Title: Re: Sending fake coins?
Post by: tiberiandusk on December 09, 2012, 11:54:14 AM
So, you two need to be Bayesians, respond to OP honestly, and stop introducing nonsensical speculation to a question that didn't ask for it.

Hmm... am not quite sure how to be a "Bayesian" (although I am guessing you might be referring to the Baysian equation algos used for identifying spam).

It isn't actually as nonsensical as you think - one of the core devs was just posting the other day about the weakness of the Bitcoin network.

Don't kid yourselves - if the PRC government decided to prevent the export of ASIC and keep it to use on Bitcoin mining themselves then the >50% could happen in as little as one month.


Jokes on the PRC. They don't exist.  ;)


Title: Re: Sending fake coins?
Post by: CIYAM on December 09, 2012, 11:58:16 AM
Being a Bayesian means not reasoning from priors not requested in the question.

Okay - thanks for that (had never heard the expression before) - overall I hope the OP is not getting too worried that his bitcoins are not safe even after 6 confirmations but I do believe that it is at least important to try and explain clearly how the system works so people don't get too "shocked" if something occurred that they had been told was "less likely than the end of the sun" (for this reason I would never recommend anyone to invest more in bitcoins than they are prepared to lose completely).

OP - if I've confused you further then sorry and feel free to ask for clarification.


Title: Re: Sending fake coins?
Post by: caffeinewriter on December 11, 2012, 07:11:15 PM
In order to pull off a successful %51 attack, you'd need to have an array of computers that could exceed 24.07 TeraHashes[1] (http://bitcoinwatch.com/). That's the mining power of ~480 of the most powerful, announced, but as of yet unreleased ASICs. When ASICs do come out, this will skyrocket, and will require a lot more processing power. For those of you that want this in FLOPS (Floating Point Operations per second), that's 305.63 PetaFLOPS per Second[1] (http://bitcoinwatch.com/). The most powerful supercomputer in the world is only capable of 17.59 petaflops[2] (https://en.wikipedia.org/wiki/FLOPS#Records). Which means you'd need more than 17 of these supercomputers in order to pull off a %51 attack, (assuming they're optimized for Bitcoin Mining, which they're not.) You'd also need over 54.5 times the amount of processing power of the Folding@home distributed computing network (5.6 Petaflops[3] (https://en.wikipedia.org/wiki/FLOPS#Distributed_computing_records)) That's a shit ton of computing power. All to double spend. It's just not feasible :P


Title: Re: Sending fake coins?
Post by: AndrewBUD on December 11, 2012, 07:14:47 PM
Your coins are fine.. No worries even after 1 confirmation :P


Title: Re: Sending fake coins?
Post by: caffeinewriter on December 11, 2012, 07:29:07 PM
Your coins are fine.. No worries even after 1 confirmation :P

Theoretically, with a bit of luck and skill, an attacker could taint a node so that it confirms the transaction, but not on the network as a whole. Highly unlikely though.


Title: Re: Sending fake coins?
Post by: AndrewBUD on December 11, 2012, 07:39:46 PM
Has it ever happened to you? or even anyone you know?


There is also a chance that you could be ass raped by a transvestite donkey.. :D


Title: Re: Sending fake coins?
Post by: caffeinewriter on December 11, 2012, 07:43:01 PM
Has it ever happened to you? or even anyone you know?


There is also a chance that you could be ass raped by a transvestite donkey.. :D

Very true XD And no it hasn't. I think I'm more likely to be gangbanged by a traveling group of talking transvestite gypsy donkeys.


Title: Re: Sending fake coins?
Post by: AndrewBUD on December 11, 2012, 07:50:50 PM
Has it ever happened to you? or even anyone you know?


There is also a chance that you could be ass raped by a transvestite donkey.. :D

Very true XD And no it hasn't. I think I'm more likely to be gangbanged by a traveling group of talking transvestite gypsy donkeys.


:D uh oh... Might be your lucky day!