| 586 | } |
| 587 | |
| 588 | std::vector<CTxMemPoolEntryRef> CTxMemPool::entryAll() const |
| 589 | { |
| 590 | AssertLockHeld(cs); |
| 591 | |
| 592 | std::vector<CTxMemPoolEntryRef> ret; |
| 593 | ret.reserve(mapTx.size()); |
| 594 | for (const auto& it : GetSortedScoreWithTopology()) { |
| 595 | ret.emplace_back(*it); |
| 596 | } |
| 597 | return ret; |
| 598 | } |
| 599 | |
| 600 | std::vector<TxMempoolInfo> CTxMemPool::infoAll() const |
| 601 | { |
no test coverage detected