| 2287 | } |
| 2288 | |
| 2289 | bool CWallet::MintableCoins() |
| 2290 | { |
| 2291 | if (GetBalance() <= stake->GetReservedBalance()) |
| 2292 | return false; |
| 2293 | |
| 2294 | vector<COutput> vCoins; |
| 2295 | AvailableCoins(vCoins, true); |
| 2296 | |
| 2297 | for (const COutput& out : vCoins) { |
| 2298 | if (GetTime() > stake->GetStakeAge(out.tx->GetTxTime())) |
| 2299 | return true; |
| 2300 | } |
| 2301 | |
| 2302 | return false; |
| 2303 | } |
| 2304 | |
| 2305 | bool CWallet::SelectCoinsMinConf(const std::string &account, const CAmount& nTargetValue, int nConfMine, int nConfTheirs, vector<COutput> vCoins, set<pair<const CWalletTx*, unsigned int> >& setCoinsRet, CAmount& nValueRet) const |
| 2306 | { |
no test coverage detected