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

Method ForgetTxHash

src/test/txrequest_tests.cpp:88–95  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

86
87 /** Schedule a ForgetTxHash call at the Scheduler's current time. */
88 void ForgetTxHash(const uint256& txhash)
89 {
90 auto& runner = m_runner;
91 runner.actions.emplace_back(m_now, [=,&runner]() {
92 runner.txrequest.ForgetTxHash(txhash);
93 runner.txrequest.SanityCheck();
94 });
95 }
96
97 /** Schedule a ReceivedInv call at the Scheduler's current time. */
98 void ReceivedInv(NodeId peer, const GenTxid& gtxid, bool pref, std::chrono::microseconds reqtime)

Callers 2

BuildSingleTestFunction · 0.45
BuildWtxidTestFunction · 0.45

Calls 2

emplace_backMethod · 0.80
SanityCheckMethod · 0.45

Tested by

no test coverage detected