What Is a Finney Attack?

in #merchant6 years ago (edited)

image

It is a double-spending attack with the following features:

• It only works if the merchant accepts unconfirmed transactions;
• It still works, however, if the merchant waits a few seconds to verify that everyone in the network agrees that the merchant was paid;
• It requires the attacker to be mining and controlling the content of their blocks; in theory, however, they can do this with any network hash rate, in particular significantly less than 50%.

It proceeds as follows:

  1. The attacker mines blocks normally; in the block that they are trying to find, they include a transaction which sends some of their coins back to themselves, without broadcasting this transaction;
  2. When they find a block, they do not broadcast it; instead, they send the same coins to a merchant for some goods or services;
  3. After the merchant accepts the payment and irreversibly provides the service, the attacker broadcasts their block; the transaction that sends the coins to themselves, included in this block, will override the unconfirmed payment to the merchant.

Coin Marketplace

STEEM 0.32
TRX 0.12
JST 0.033
BTC 64647.16
ETH 3160.49
USDT 1.00
SBD 4.13