Changeset View
Changeset View
Standalone View
Standalone View
src/miner.h
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | struct CTxMemPoolModifiedEntry { | ||||
} | } | ||||
CTxMemPool::txiter iter; | CTxMemPool::txiter iter; | ||||
uint64_t nSizeWithAncestors; | uint64_t nSizeWithAncestors; | ||||
CAmount nModFeesWithAncestors; | CAmount nModFeesWithAncestors; | ||||
int64_t nSigOpCountWithAncestors; | int64_t nSigOpCountWithAncestors; | ||||
}; | }; | ||||
/** Comparator for CTxMemPool::txiter objects. | /** | ||||
* Comparator for CTxMemPool::txiter objects. | |||||
* It simply compares the internal memory address of the CTxMemPoolEntry object | * It simply compares the internal memory address of the CTxMemPoolEntry object | ||||
* pointed to. This means it has no meaning, and is only useful for using them | * pointed to. This means it has no meaning, and is only useful for using them | ||||
* as key in other indexes. | * as key in other indexes. | ||||
*/ | */ | ||||
struct CompareCTxMemPoolIter { | struct CompareCTxMemPoolIter { | ||||
bool operator()(const CTxMemPool::txiter &a, | bool operator()(const CTxMemPool::txiter &a, | ||||
const CTxMemPool::txiter &b) const { | const CTxMemPool::txiter &b) const { | ||||
return &(*a) < &(*b); | return &(*a) < &(*b); | ||||
} | } | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 158 Lines • Show Last 20 Lines |