|
|
@ -317,20 +317,15 @@ public: |
|
|
|
std::vector<char> vfSpent; // which outputs are already spent
|
|
|
|
std::vector<char> vfSpent; // which outputs are already spent
|
|
|
|
|
|
|
|
|
|
|
|
// memory only
|
|
|
|
// memory only
|
|
|
|
mutable char fDebitCached; |
|
|
|
mutable bool fDebitCached; |
|
|
|
mutable char fCreditCached; |
|
|
|
mutable bool fCreditCached; |
|
|
|
mutable char fAvailableCreditCached; |
|
|
|
mutable bool fAvailableCreditCached; |
|
|
|
mutable char fChangeCached; |
|
|
|
mutable bool fChangeCached; |
|
|
|
mutable int64 nDebitCached; |
|
|
|
mutable int64 nDebitCached; |
|
|
|
mutable int64 nCreditCached; |
|
|
|
mutable int64 nCreditCached; |
|
|
|
mutable int64 nAvailableCreditCached; |
|
|
|
mutable int64 nAvailableCreditCached; |
|
|
|
mutable int64 nChangeCached; |
|
|
|
mutable int64 nChangeCached; |
|
|
|
|
|
|
|
|
|
|
|
// memory only UI hints
|
|
|
|
|
|
|
|
mutable unsigned int nTimeDisplayed; |
|
|
|
|
|
|
|
mutable int nLinesDisplayed; |
|
|
|
|
|
|
|
mutable char fConfirmedDisplayed; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CWalletTx() |
|
|
|
CWalletTx() |
|
|
|
{ |
|
|
|
{ |
|
|
|
Init(NULL); |
|
|
|
Init(NULL); |
|
|
@ -370,9 +365,6 @@ public: |
|
|
|
nCreditCached = 0; |
|
|
|
nCreditCached = 0; |
|
|
|
nAvailableCreditCached = 0; |
|
|
|
nAvailableCreditCached = 0; |
|
|
|
nChangeCached = 0; |
|
|
|
nChangeCached = 0; |
|
|
|
nTimeDisplayed = 0; |
|
|
|
|
|
|
|
nLinesDisplayed = 0; |
|
|
|
|
|
|
|
fConfirmedDisplayed = false; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
IMPLEMENT_SERIALIZE |
|
|
|
IMPLEMENT_SERIALIZE |
|
|
|