Browse Source

change type of various bare chars to bool that are only used as bool (and never serialized)

0.8
Wladimir J. van der Laan 13 years ago
parent
commit
cdcc319c2d
  1. 2
      src/main.h
  2. 8
      src/wallet.h

2
src/main.h

@ -696,7 +696,7 @@ public:
int nIndex; int nIndex;
// memory only // memory only
mutable char fMerkleVerified; mutable bool fMerkleVerified;
CMerkleTx() CMerkleTx()

8
src/wallet.h

@ -317,10 +317,10 @@ 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;

Loading…
Cancel
Save