Questions tagged [doublespend]

This tag should be used for questions related to double spending. Double spends are when a money is spent more than one time. This is considered a form of fraud.

In Bitcoin, double spends are impossible. A transaction that spends money already spent in another transaction will never be valid and confirmed. However unconfirmed transactions can conflict by spending money spent by another unconfirmed transaction. Double spends are often used to defraud merchants by allowing a customer to not pay the merchant. The risk of double spends is the primary reason that merchants wait for one or more confirmations before accepting a Bitcoin transaction.

280 questions
57
votes
7 answers

Can bitcoins be counterfeited?

Traditional currencies have anti-counterfeiting features designed to make them hard to copy, but despite this attempt counterfeit money is a real threat. Since bitcoins are digital, it's trivial to copy them. Does this mean that bitcoins can be…
eMansipater
  • 14,376
  • 10
  • 50
  • 79
40
votes
2 answers

How does Ripple solve the double-spend problem?

How does the Ripple system solve the double-spend problem? Does it also use some block-chain-like entity that officially dictates which transactions are confirmed and which are not, or does it use some other clever mechanism?
ThePiachu
  • 42,931
  • 25
  • 138
  • 347
40
votes
2 answers

What is a Finney attack?

What is a Finney attack? Extra points for explaining its purpose, the prerequisites for it to be possible, how the attack can be performed and the origin of the name "Finney attack".
Dr.Haribo
  • 8,409
  • 10
  • 43
  • 62
29
votes
5 answers

Has there ever been a successful double spend attack on the Bitcoin network? If not, is it really necessary to wait for confirmations?

There is a lot of concern about waiting for confirmations to avoid a double spend attack, but has there ever actually been a double spend attack? It seems to be that there are two types of double spend attack. One is perpetrated without a…
Isaac Kriegman
  • 291
  • 3
  • 3
27
votes
4 answers

What is a double spend?

What is a double spend? As someone who uses Bitcoin, what do I need to know about how the Bitcoin system prevents double spends? Are there still circumstances where they can occur?
Dr.Haribo
  • 8,409
  • 10
  • 43
  • 62
23
votes
2 answers

What are the pros and cons of Ripple's consensus as compared with Bitcoin's proof-of-work?

One of the major differences between Bitcoin and Ripple is how they process transactions. I can think of three ways in which Ripple's "consensus" scheme is superior to Bitcoin's proof-of-work: Less energy-intensive No 51% attack Faster…
Manish
  • 2,012
  • 20
  • 33
21
votes
1 answer

What does the Bitcoin client do when it receives conflicting transactions?

I've been assuming that the second transaction will simply be discarded as invalid, while the first waits at 0/unconfirmed until it actually gets into a block (requiring a "-rescan" or similar if the second one actually ends up in the blockchain…
eMansipater
  • 14,376
  • 10
  • 50
  • 79
18
votes
3 answers

Are there alternatives for proof of work?

Bitcoin uses proof of work to secure the network, Ripple uses a global consensus system and PPCoin uses proof of stake. Are there any known alternatives to the above methods?
Maestro
  • 1,967
  • 1
  • 18
  • 29
16
votes
2 answers

How do I detect a double-spend?

As a vendor, how do you detect a double-spend? I'm happy to tell end-users that I'm proceeding with a transaction on 0 confirms, simply assuming everything is fine. I'm selling physical goods and so I don't ship them until I actually have 6…
Derek Hans
  • 163
  • 1
  • 4
15
votes
1 answer

Would a reduced block generation time make the Finney attack more difficult?

Related Question: What can be done to mitigate the risk of a Finney attack? The Finney attack is a form of double-spending attack where the attacker pre-mines a block containing a conflicting transaction and then publishes a transaction. A…
David Schwartz
  • 51,308
  • 6
  • 106
  • 177
14
votes
2 answers

Does any pool accept higher-fee transactions of a double spend, instead of the earlier one?

Some pools use a modified bitcoind that uses different rules for choosing the transactions to include in a block. Are there any pools that knowing one transaction to be included in a block would discard it if another transaction on the same inputs…
ThePiachu
  • 42,931
  • 25
  • 138
  • 347
13
votes
2 answers

How to minimize risk when accepting zero confirmation payments?

I'm trying to setup a way of accepting Bitcoin payments in real life situations, where waiting for confirmations is typically not an option. I understand this is never 100% risk free (especially with crap like bitundo.com around), I just want to…
RocketNuts
  • 1,031
  • 1
  • 9
  • 22
12
votes
2 answers

Bitcoin without mining

Several months ago I've stumbled an interesting question about the Ripple system: How does Ripple solve the double-spend problem? Specifically about how double-spending is solved in Ripple. As you can see only @David Schwartz replied to my comments…
Luca Matteis
  • 5,182
  • 17
  • 24
11
votes
2 answers

In a double spend attempt, how is the valid transaction chosen?

Suppose I publish the private key of an address that contains 1 bitcoin. If two people try to transfer this bitcoin to another address before a new block is found, who gets it? How is this decision made?
nmat
  • 11,479
  • 14
  • 50
  • 78
11
votes
2 answers

Double spend attack by sending higher fee transaction directly to the pools possible?

The standard client prioritizes TXs by the time of receipt, e.g. a conflicting transaction will not be relayed. This is not enforced by the network, though. Is there anything that would prevent this scenario from happening with…
1
2 3
18 19