Bitcoin Forum
August 15, 2018, 11:37:58 PM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: [PULL] when the blockchain conflicts with your wallet  (Read 1238 times)
Pieter Wuille
Offline Offline

Activity: 1050
Merit: 1005

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

See a problem description here:

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:

aka sipa, core dev team

Tips and donations: 1KwDYMJMS4xq3ZEWYfdBRwYG2fHwhZsipa
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Offline Offline

Activity: 90
Merit: 10

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

Nice! I was looking precisely for this.
Pages: [1]
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!