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

Method GetConflictTx

src/txmempool.cpp:689–693  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

687}
688
689const CTransaction* CTxMemPool::GetConflictTx(const COutPoint& prevout) const
690{
691 const auto it = mapNextTx.find(prevout);
692 return it == mapNextTx.end() ? nullptr : &(it->second->GetTx());
693}
694
695std::optional<CTxMemPool::txiter> CTxMemPool::GetIter(const Txid& txid) const
696{

Callers 4

PreChecksMethod · 0.80
BOOST_FIXTURE_TEST_CASEFunction · 0.80
gettxspendingprevoutFunction · 0.80
MiniMinerMethod · 0.80

Calls 3

findMethod · 0.80
GetTxMethod · 0.80
endMethod · 0.45

Tested by 1

BOOST_FIXTURE_TEST_CASEFunction · 0.64