How Does a Race Attack Attempt to Double-Spend Cryptocurrency?

A race attack is a type of double-spending attack where an attacker sends two conflicting transactions in quick succession to two different vendors. The goal is to have one transaction confirmed for the goods or services and the other transaction sent back to the attacker's own wallet.

This attack relies on the short time window before a transaction is included in a block. To mitigate this, merchants should wait for at least one confirmation before considering a transaction final.

What Is the “Longest Chain Rule” and How Does It Relate to Block Confirmation?
How Do Zero-Confirmation Transactions Increase the Risk of a Double-Spend?
What Is a ‘Race Attack’ and How Does It Differ from a 51% Double-Spend?
What Is the “Longest Chain Rule” and How Does It Prevent Confirmed Double-Spending?
What Is the Significance of the “Longest Chain Rule” in Executing a Double-Spend Attack?
What Is a ‘Race Attack’ in the Context of Double-Spending?
What Is the Role of the UTXO Model in Preventing Double-Spending?
How Do Zero-Confirmation Transactions Increase the Vulnerability to a Double-Spend?

Glossar