| 427 | return OutputGetCredit(*m_wallet, tx, out_index, filter); |
| 428 | } |
| 429 | CoinsList listCoins() override |
| 430 | { |
| 431 | LOCK(m_wallet->cs_wallet); |
| 432 | CoinsList result; |
| 433 | for (const auto& entry : ListCoins(*m_wallet)) { |
| 434 | auto& group = result[entry.first]; |
| 435 | for (const auto& coin : entry.second) { |
| 436 | group.emplace_back(COutPoint(coin.tx->GetHash(), coin.i), |
| 437 | MakeWalletTxOut(*m_wallet, *coin.tx, coin.i, coin.nDepth)); |
| 438 | } |
| 439 | } |
| 440 | return result; |
| 441 | } |
| 442 | std::vector<WalletTxOut> getCoins(const std::vector<COutPoint>& outputs) override |
| 443 | { |
| 444 | LOCK(m_wallet->cs_wallet); |
no test coverage detected