| 15 | #include <algorithm> |
| 16 | |
| 17 | bool CTxMemCache::AddBlockTx(const CBlock &block) { |
| 18 | for (auto &ptx : block.vptx) { |
| 19 | txids[ptx->GetHash()] = true; |
| 20 | } |
| 21 | return true; |
| 22 | } |
| 23 | |
| 24 | bool CTxMemCache::RemoveBlockTx(const CBlock &block) { |
| 25 | for (auto &ptx : block.vptx) { |
no test coverage detected