Schedule a RequestedTx call at the Scheduler's current time. */
| 131 | |
| 132 | /** Schedule a RequestedTx call at the Scheduler's current time. */ |
| 133 | void RequestedTx(NodeId peer, const uint256& txhash, std::chrono::microseconds exptime) |
| 134 | { |
| 135 | auto& runner = m_runner; |
| 136 | runner.actions.emplace_back(m_now, [=, &runner]() { |
| 137 | runner.txrequest.RequestedTx(peer, txhash, exptime); |
| 138 | runner.txrequest.SanityCheck(); |
| 139 | }); |
| 140 | } |
| 141 | |
| 142 | /** Schedule a ReceivedResponse call at the Scheduler's current time. */ |
| 143 | void ReceivedResponse(NodeId peer, const uint256& txhash) |
no test coverage detected