|
|
@ -813,7 +813,7 @@ public: |
|
|
|
const CWalletTx* GetWalletTx(const uint256& hash) const; |
|
|
|
const CWalletTx* GetWalletTx(const uint256& hash) const; |
|
|
|
|
|
|
|
|
|
|
|
//! check whether we are allowed to upgrade (or already support) to the named feature
|
|
|
|
//! check whether we are allowed to upgrade (or already support) to the named feature
|
|
|
|
bool CanSupportFeature(enum WalletFeature wf) { AssertLockHeld(cs_wallet); return nWalletMaxVersion >= wf; } |
|
|
|
bool CanSupportFeature(enum WalletFeature wf) const { AssertLockHeld(cs_wallet); return nWalletMaxVersion >= wf; } |
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* populate vCoins with vector of available COutputs. |
|
|
|
* populate vCoins with vector of available COutputs. |
|
|
@ -978,6 +978,8 @@ public: |
|
|
|
bool GetKeyFromPool(CPubKey &key, bool internal = false); |
|
|
|
bool GetKeyFromPool(CPubKey &key, bool internal = false); |
|
|
|
int64_t GetOldestKeyPoolTime(); |
|
|
|
int64_t GetOldestKeyPoolTime(); |
|
|
|
const std::map<CKeyID, int64_t>& GetAllReserveKeys() const { return m_pool_key_to_index; } |
|
|
|
const std::map<CKeyID, int64_t>& GetAllReserveKeys() const { return m_pool_key_to_index; } |
|
|
|
|
|
|
|
/** Does the wallet have at least min_keys in the keypool? */ |
|
|
|
|
|
|
|
bool HasUnusedKeys(int min_keys) const; |
|
|
|
|
|
|
|
|
|
|
|
std::set< std::set<CTxDestination> > GetAddressGroupings(); |
|
|
|
std::set< std::set<CTxDestination> > GetAddressGroupings(); |
|
|
|
std::map<CTxDestination, CAmount> GetAddressBalances(); |
|
|
|
std::map<CTxDestination, CAmount> GetAddressBalances(); |
|
|
|