| 951 | } |
| 952 | |
| 953 | void CTxMemPool::ApplyDeltas(const uint256 hash, double &dPriorityDelta, CAmount &nFeeDelta) const |
| 954 | { |
| 955 | LOCK(cs); |
| 956 | std::map<uint256, std::pair<double, CAmount> >::const_iterator pos = mapDeltas.find(hash); |
| 957 | if (pos == mapDeltas.end()) |
| 958 | return; |
| 959 | const std::pair<double, CAmount> &deltas = pos->second; |
| 960 | dPriorityDelta += deltas.first; |
| 961 | nFeeDelta += deltas.second; |
| 962 | } |
| 963 | |
| 964 | void CTxMemPool::ClearPrioritisation(const uint256 hash) |
| 965 | { |
no test coverage detected