Rename CWalletInterface to CValidationInterface

It's useful for much more than wallets.
This commit is contained in:
Pieter Wuille
2014-10-19 18:17:01 -07:00
parent 84d13eef88
commit a96d113962
5 changed files with 33 additions and 33 deletions

View File

@@ -95,7 +95,7 @@ public:
/** A CWallet is an extension of a keystore, which also maintains a set of transactions and balances,
* and provides the ability to create new transactions.
*/
class CWallet : public CCryptoKeyStore, public CWalletInterface
class CWallet : public CCryptoKeyStore, public CValidationInterface
{
private:
bool SelectCoins(const CAmount& nTargetValue, std::set<std::pair<const CWalletTx*,unsigned int> >& setCoinsRet, CAmount& nValueRet, const CCoinControl *coinControl = NULL) const;