Skip to content
GetProfitable
Search
Dictionary

Double spend

Spending the same coins twice by getting one transaction confirmed and then replacing it with a conflicting one.

The problem every blockchain exists to solve. Digital files copy perfectly, so a ledger needs some way to make sure the same balance is not sent to two places. Consensus does this by agreeing on one ordering of transactions.

Attacks in practice target merchants and exchanges that credit funds too early. The attacker pays, receives goods or a trade fill on zero or one confirmation, then publishes a competing branch that erases the payment.

Example: an exchange crediting a $200,000 deposit at one confirmation on a small chain is an inviting target when renting enough hash-rate for a short chain-reorg costs a few thousand dollars an hour. Confirmation requirements are a direct function of that arithmetic.

Related: confirmation, chain-reorg, consensus-mechanism

See it drawn

Original diagrams for the ideas on this page. Illustrative, not real market data.

Risk and reward on one tradeA price scale showing an entry with a stop two points below and a target six points above, so the reward band is three times the risk band.PRICETARGET 106.00ENTRY 100.00STOP 98.00REWARDRISK6.00 pointsthree times the risk2.00 pointsthe most you loserisk : reward = 1 : 3
Risk and reward on one trade. One trade on a price scale: the entry sits 2.00 points above the stop and 6.00 points below the target, so the shaded reward band is three times the risk band. The ratio compares what is lost if the stop is hit with what is gained if the target is reached.

Educational only, not advice. Spotted an error? Post in Site Feedback.