Skip to content

Commit

Permalink
Get rid of unused functions CTxMemPool::GetMemPoolChildren, CTxMemPoo…
Browse files Browse the repository at this point in the history
…l::GetMemPoolParents
  • Loading branch information
JeremyRubin committed Jan 22, 2020
1 parent b1fc709 commit 21d9272
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
12 changes: 0 additions & 12 deletions src/txmempool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -979,18 +979,6 @@ void CTxMemPool::UpdateParent(txiter entry, txiter parent, bool add)
}
}

const CTxMemPoolEntry::Parents & CTxMemPool::GetMemPoolParents(txiter entry) const
{
assert(entry != mapTx.end());
return entry->GetMemPoolParentsConst();
}

const CTxMemPoolEntry::Children & CTxMemPool::GetMemPoolChildren(txiter entry) const
{
assert(entry != mapTx.end());
return entry->GetMemPoolChildrenConst();
}

CFeeRate CTxMemPool::GetMinFee(size_t sizelimit) const {
LOCK(cs);
if (!blockSinceLastRollingFeeBump || rollingMinimumFeeRate == 0)
Expand Down
2 changes: 0 additions & 2 deletions src/txmempool.h
Original file line number Diff line number Diff line change
Expand Up @@ -550,8 +550,6 @@ class CTxMemPool
typedef std::set<txiter, CompareIteratorByHashGeneric> setEntries;
typedef std::vector<txiter> vecEntries;

const CTxMemPoolEntry::Parents & GetMemPoolParents(txiter entry) const EXCLUSIVE_LOCKS_REQUIRED(cs);
const CTxMemPoolEntry::Children & GetMemPoolChildren(txiter entry) const EXCLUSIVE_LOCKS_REQUIRED(cs);
uint64_t CalculateDescendantMaximum(txiter entry) const EXCLUSIVE_LOCKS_REQUIRED(cs);
private:

Expand Down

0 comments on commit 21d9272

Please sign in to comment.