mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-27 03:33:27 -03:00
Get rid of unused functions CTxMemPool::GetMemPoolChildren, CTxMemPool::GetMemPoolParents
This commit is contained in:
parent
46d955d196
commit
296be8f58e
2 changed files with 0 additions and 14 deletions
|
@ -993,18 +993,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 {
|
CFeeRate CTxMemPool::GetMinFee(size_t sizelimit) const {
|
||||||
LOCK(cs);
|
LOCK(cs);
|
||||||
if (!blockSinceLastRollingFeeBump || rollingMinimumFeeRate == 0)
|
if (!blockSinceLastRollingFeeBump || rollingMinimumFeeRate == 0)
|
||||||
|
|
|
@ -576,8 +576,6 @@ public:
|
||||||
|
|
||||||
typedef std::set<txiter, CompareIteratorByHash> setEntries;
|
typedef std::set<txiter, CompareIteratorByHash> setEntries;
|
||||||
|
|
||||||
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);
|
uint64_t CalculateDescendantMaximum(txiter entry) const EXCLUSIVE_LOCKS_REQUIRED(cs);
|
||||||
private:
|
private:
|
||||||
typedef std::map<txiter, setEntries, CompareIteratorByHash> cacheMap;
|
typedef std::map<txiter, setEntries, CompareIteratorByHash> cacheMap;
|
||||||
|
|
Loading…
Add table
Reference in a new issue