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

Method DisconnectedPeer

src/test/txrequest_tests.cpp:108–115  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

106
107 /** Schedule a DisconnectedPeer call at the Scheduler's current time. */
108 void DisconnectedPeer(NodeId peer)
109 {
110 auto& runner = m_runner;
111 runner.actions.emplace_back(m_now, [=,&runner]() {
112 runner.txrequest.DisconnectedPeer(peer);
113 runner.txrequest.SanityCheck();
114 });
115 }
116
117 /** Schedule a RequestedTx call at the Scheduler's current time. */
118 void RequestedTx(NodeId peer, const uint256& txhash, std::chrono::microseconds exptime)

Callers 6

BuildSingleTestFunction · 0.45
BuildPriorityTestFunction · 0.45
BuildBigPriorityTestFunction · 0.45
BuildRequestOrderTestFunction · 0.45
BuildTimeBackwardsTestFunction · 0.45
BuildWeirdRequestsTestFunction · 0.45

Calls 2

emplace_backMethod · 0.80
SanityCheckMethod · 0.45

Tested by

no test coverage detected