Schedule a DisconnectedPeer call at the Scheduler's current time. */
| 121 | |
| 122 | /** Schedule a DisconnectedPeer call at the Scheduler's current time. */ |
| 123 | void DisconnectedPeer(NodeId peer) |
| 124 | { |
| 125 | auto& runner = m_runner; |
| 126 | runner.actions.emplace_back(m_now, [=, &runner]() { |
| 127 | runner.txrequest.DisconnectedPeer(peer); |
| 128 | runner.txrequest.SanityCheck(); |
| 129 | }); |
| 130 | } |
| 131 | |
| 132 | /** Schedule a RequestedTx call at the Scheduler's current time. */ |
| 133 | void RequestedTx(NodeId peer, const uint256& txhash, std::chrono::microseconds exptime) |
no test coverage detected