| 805 | } |
| 806 | |
| 807 | void CTxMemPool::PrioritiseTransaction(const uint256 hash, const string strHash, double dPriorityDelta, const CAmount& nFeeDelta) |
| 808 | { |
| 809 | { |
| 810 | LOCK(cs); |
| 811 | std::pair<double, CAmount> &deltas = mapDeltas[hash]; |
| 812 | deltas.first += dPriorityDelta; |
| 813 | deltas.second += nFeeDelta; |
| 814 | } |
| 815 | LogPrintf("PrioritiseTransaction: %s priority += %f, fee += %d\n", strHash, dPriorityDelta, FormatMoney(nFeeDelta)); |
| 816 | } |
| 817 | |
| 818 | void CTxMemPool::ApplyDeltas(const uint256 hash, double &dPriorityDelta, CAmount &nFeeDelta) |
| 819 | { |
no test coverage detected