bool dumpWallet(const QString &filename);
bool importWallet(const QString &filename);
- void getStakeStats(float &nKernelsRate, float &nCoinDaysRate);
void getStakeWeightFromValue(const int64_t& nTime, const int64_t& nValue, uint64_t& nWeight);
// RAI object for unlocking wallet, returned by requestUnlock()
class UnlockContext
{
public:
- UnlockContext(WalletModel *wallet, bool valid, bool relock);
+ UnlockContext(WalletModel *wallet, bool valid, bool relock, bool mintflag);
~UnlockContext();
bool isValid() const { return valid; }
WalletModel *wallet;
bool valid;
mutable bool relock; // mutable, as it can be set to false by copying
+ bool mintflag;
void CopyFrom(const UnlockContext& rhs);
};