Remove uses of fPruneMode in wallet code

This commit does not change behavior.
This commit is contained in:
Russell Yanofsky
2017-07-28 22:45:01 -04:00
parent cc02c796d3
commit cc3836e8f9
4 changed files with 9 additions and 5 deletions

View File

@@ -228,6 +228,7 @@ public:
{
return ::mempool.GetMinFee(gArgs.GetArg("-maxmempool", DEFAULT_MAX_MEMPOOL_SIZE) * 1000000);
}
bool getPruneMode() override { return ::fPruneMode; }
};
} // namespace

View File

@@ -155,6 +155,9 @@ public:
//! Pool min fee.
virtual CFeeRate mempoolMinFee() = 0;
//! Check if pruning is enabled.
virtual bool getPruneMode() = 0;
};
//! Interface to let node manage chain clients (wallets, or maybe tools for