| 730 | } |
| 731 | |
| 732 | bool CTxMemPool::HasNoInputsOf(const CTransaction &tx) const |
| 733 | { |
| 734 | for (unsigned int i = 0; i < tx.vin.size(); i++) |
| 735 | if (exists(tx.vin[i].prevout.hash)) |
| 736 | return false; |
| 737 | return true; |
| 738 | } |
| 739 | |
| 740 | CCoinsViewMemPool::CCoinsViewMemPool(CCoinsView* baseIn, const CTxMemPool& mempoolIn) : CCoinsViewBacked(baseIn), mempool(mempoolIn) { } |
| 741 |
no test coverage detected