aboutsummaryrefslogtreecommitdiff
path: root/init.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2011-03-17 22:51:59 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2011-04-12 19:29:36 +0200
commit335e878be8f30ae1f7a23fbd3686fdd80c600282 (patch)
treebb38be86c1b0136c40f390a9942128c3de945e9d /init.cpp
parentb7ebc662eb186bf99beaa04d1d21544ffd2c4b2e (diff)
downloadbitcoin-335e878be8f30ae1f7a23fbd3686fdd80c600282.tar.xz
Spent per txout
Change some internal data structures to keep track of spentness of each wallet transaction output separately, to support partially-spent transactions: * an update to the data structures (vfSpent in CWalletTx instead of fSpent) * a backward-compatible update to the wallet disk format. Old clients reading back an updated wallet will ignore partially spent transactions when creating new ones, and may report a wrong balance, though. * some helper functions (CWalletTx: IsSpent, MarkSpent, MarkDirty to reset cached values, GetAvailableCredit which only counts unredeemed outputs)
Diffstat (limited to 'init.cpp')
0 files changed, 0 insertions, 0 deletions