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

Method ForgetTxHash

src/test/txrequest_tests.cpp:103–110  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

101
102 /** Schedule a ForgetTxHash call at the Scheduler's current time. */
103 void ForgetTxHash(const uint256& txhash)
104 {
105 auto& runner = m_runner;
106 runner.actions.emplace_back(m_now, [=, &runner]() {
107 runner.txrequest.ForgetTxHash(txhash);
108 runner.txrequest.SanityCheck();
109 });
110 }
111
112 /** Schedule a ReceivedInv call at the Scheduler's current time. */
113 void ReceivedInv(NodeId peer, const GenTxid& gtxid, bool pref, std::chrono::microseconds reqtime)

Callers 2

BuildSingleTestMethod · 0.45
BuildWtxidTestMethod · 0.45

Calls 2

emplace_backMethod · 0.45
SanityCheckMethod · 0.45

Tested by

no test coverage detected