aboutsummaryrefslogtreecommitdiff
path: root/src/script.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2011-03-17 22:51:59 +0100
committerPieter Wuille <[email protected]>2011-04-12 19:29:36 +0200
commit335e878be8f30ae1f7a23fbd3686fdd80c600282 (patch)
treebb38be86c1b0136c40f390a9942128c3de945e9d /src/script.cpp
parentUpdate copyright in About box from 2010 to 2011 (diff)
downloaddiscoin-335e878be8f30ae1f7a23fbd3686fdd80c600282.tar.xz
discoin-335e878be8f30ae1f7a23fbd3686fdd80c600282.zip
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 'src/script.cpp')
0 files changed, 0 insertions, 0 deletions