Bitcoin Forum
May 10, 2024, 05:17:00 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [PULL] when the blockchain conflicts with your wallet  (Read 1357 times)
Pieter Wuille (OP)
Legendary
*
qt
Offline Offline

Activity: 1072
Merit: 1174


View Profile WWW
May 05, 2011, 03:39:18 PM
 #1

See a problem description here: http://bitcointalk.org/index.php?topic=5920.0

This basically boils down to: what when you (accidentally) have a double-spending transaction in your wallet. The result is a possibly corrupted wallet, with spendings that are not accepted by the network, and change that is possibly impossible to spend as well.

Currently, this is a small problem, in the sense that it requires quite some hackery with copying wallet.dat files aroung to actually experience the problem, but as soon as import and export of wallets is implemented, it may become a much larger issue.

The patch below will detect transactions in your wallet that conflict with the block chain, and mark them rejected in the UI. They will be ignored for balance calculation and coin selection.

Pull request is here: https://github.com/bitcoin/bitcoin/pull/195

I do Bitcoin stuff.
1715318220
Hero Member
*
Offline Offline

Posts: 1715318220

View Profile Personal Message (Offline)

Ignore
1715318220
Reply with quote  #2

1715318220
Report to moderator
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715318220
Hero Member
*
Offline Offline

Posts: 1715318220

View Profile Personal Message (Offline)

Ignore
1715318220
Reply with quote  #2

1715318220
Report to moderator
gim
Member
**
Offline Offline

Activity: 90
Merit: 10


View Profile
July 02, 2011, 11:14:15 AM
 #2

Nice! I was looking precisely for this.
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!