Bitcoin Forum
April 25, 2024, 12:26:50 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Double spending  (Read 664 times)
Mr.Coin (OP)
Jr. Member
*
Offline Offline

Activity: 37
Merit: 1


View Profile
June 22, 2013, 03:22:13 AM
 #1

If someone were able to do a double spend or revers a transaction, would we ever know about it?
1714048010
Hero Member
*
Offline Offline

Posts: 1714048010

View Profile Personal Message (Offline)

Ignore
1714048010
Reply with quote  #2

1714048010
Report to moderator
1714048010
Hero Member
*
Offline Offline

Posts: 1714048010

View Profile Personal Message (Offline)

Ignore
1714048010
Reply with quote  #2

1714048010
Report to moderator
1714048010
Hero Member
*
Offline Offline

Posts: 1714048010

View Profile Personal Message (Offline)

Ignore
1714048010
Reply with quote  #2

1714048010
Report to moderator
It is a common myth that Bitcoin is ruled by a majority of miners. This is not true. Bitcoin miners "vote" on the ordering of transactions, but that's all they do. They can't vote to change the network rules.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714048010
Hero Member
*
Offline Offline

Posts: 1714048010

View Profile Personal Message (Offline)

Ignore
1714048010
Reply with quote  #2

1714048010
Report to moderator
1714048010
Hero Member
*
Offline Offline

Posts: 1714048010

View Profile Personal Message (Offline)

Ignore
1714048010
Reply with quote  #2

1714048010
Report to moderator
nimda
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000


0xFB0D8D1534241423


View Profile
June 22, 2013, 03:27:51 AM
 #2

Yes, and it's happened before.
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
June 22, 2013, 07:16:47 AM
 #3

If someone were able to do a double spend or revers a transaction, would we ever know about it?

A race attack (on 0/unconfirmed) uses deception where the Bitcoin node used by the recipient sees one transaction but the miners see a different transaction -- with both transactions spending the same coin.

So if your node were to see one transaction (at 0/unconfirmed) and then eventually a block came in with a different transaction then your node will behave as if the original transaction never occurred.

So there's no alert and no other way to learn that a double spend occurred.

If the race attack failed (i.e., the mining nodes received the same transaction as the recipient's node knew of) then there would be no way for a the recipient's node to know that an attack had been attempted.

Now if there is a block re-org in which a transaction had a confirmation and then a subsequent block arrived causing a transaction to revert to 0/unconfirmed, then that might be visible to someone watching a transaction but the client itself does not alert on such an event.

Some services that have multiple listeners (using a customized client that does not reject invalid double-sped transactions) can recognize double spends, but this detection and alerting is not something the stock bitcoin.org client offers.

Blockchain.info does report double spend conflicts for an address in their web interface.

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!