| 1122 | } |
| 1123 | |
| 1124 | void CCoinsViewMemPool::PackageAddTransaction(const CTransactionRef& tx) |
| 1125 | { |
| 1126 | for (unsigned int n = 0; n < tx->vout.size(); ++n) { |
| 1127 | m_temp_added.emplace(COutPoint(tx->GetHash(), n), Coin(tx->vout[n], MEMPOOL_HEIGHT, false)); |
| 1128 | } |
| 1129 | } |
| 1130 | |
| 1131 | // ELEMENTS: |
| 1132 | bool CCoinsViewMemPool::IsPeginSpent(const std::pair<uint256, COutPoint> &outpoint) const { |
no test coverage detected