MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / RequestedTx

Method RequestedTx

src/test/txrequest_tests.cpp:133–140  ·  view source on GitHub ↗

Schedule a RequestedTx call at the Scheduler's current time. */

Source from the content-addressed store, hash-verified

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)

Callers 5

BuildSingleTestMethod · 0.45
BuildPriorityTestMethod · 0.45
BuildWtxidTestMethod · 0.45

Calls 2

emplace_backMethod · 0.45
SanityCheckMethod · 0.45

Tested by

no test coverage detected