Schedule a ForgetTxHash call at the Scheduler's current time. */
| 101 | |
| 102 | /** Schedule a ForgetTxHash call at the Scheduler's current time. */ |
| 103 | void ForgetTxHash(const uint256& txhash) |
| 104 | { |
| 105 | auto& runner = m_runner; |
| 106 | runner.actions.emplace_back(m_now, [=, &runner]() { |
| 107 | runner.txrequest.ForgetTxHash(txhash); |
| 108 | runner.txrequest.SanityCheck(); |
| 109 | }); |
| 110 | } |
| 111 | |
| 112 | /** Schedule a ReceivedInv call at the Scheduler's current time. */ |
| 113 | void ReceivedInv(NodeId peer, const GenTxid& gtxid, bool pref, std::chrono::microseconds reqtime) |
no test coverage detected