aboutsummaryrefslogtreecommitdiff
path: root/json
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-01-19 16:50:20 -0500
committerGavin Andresen <gavinandresen@gmail.com>2011-01-19 16:50:20 -0500
commit1d23c7436164faa0b1822acf5ce9507bf6ff257a (patch)
tree1ef71d923e9183521e1338ffa40526b3a73201ec /json
parentc9f70b381dc8ee4197fd5b3d4d20f302632da0ed (diff)
ReacceptWalletTransactions bugfix
Fix two bugs that can happen if you copy your wallet to another machine and perform transactions on both. First, ReacceptWalletTransactions would notice if the other wallet spent coins, and would correctly mark the receiving transaction spent. However, it did not add the spending transaction to the wallet. Now it does. Second, account balances could get out of sync with 'getbalance' because coins received by the other copy of the wallet were not necessarily detected. Now ReacceptWalletTransactions will scan the entire blockchain for transactions that should be in the wallet if it runs across a 'spent in the other wallet' transaction. Finally, there was a small bug in the accounts getbalance code-- generated coins with between 100 and 119 confirmations were not being counted in the balance of account "".
Diffstat (limited to 'json')
0 files changed, 0 insertions, 0 deletions