diff options
| author | Pieter Wuille <[email protected]> | 2011-03-17 22:51:59 +0100 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2011-04-12 19:29:36 +0200 |
| commit | 335e878be8f30ae1f7a23fbd3686fdd80c600282 (patch) | |
| tree | bb38be86c1b0136c40f390a9942128c3de945e9d /src/script.cpp | |
| parent | Update copyright in About box from 2010 to 2011 (diff) | |
| download | discoin-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