MCPcopy Create free account
hub / github.com/ElementsProject/elements / ReceivedResponse

Method ReceivedResponse

src/test/txrequest_tests.cpp:128–135  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

126
127 /** Schedule a ReceivedResponse call at the Scheduler's current time. */
128 void ReceivedResponse(NodeId peer, const uint256& txhash)
129 {
130 auto& runner = m_runner;
131 runner.actions.emplace_back(m_now, [=,&runner]() {
132 runner.txrequest.ReceivedResponse(peer, txhash);
133 runner.txrequest.SanityCheck();
134 });
135 }
136
137 /** Schedule calls to verify the TxRequestTracker's state at the Scheduler's current time.
138 *

Callers 3

BuildSingleTestFunction · 0.45
BuildPriorityTestFunction · 0.45
BuildBigPriorityTestFunction · 0.45

Calls 2

emplace_backMethod · 0.80
SanityCheckMethod · 0.45

Tested by

no test coverage detected