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