diff options
| author | Gavin Andresen <[email protected]> | 2014-07-03 14:25:32 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2014-07-03 14:42:16 -0400 |
| commit | 13fc83c77bb9108c00dd7709ce17719edb763273 (patch) | |
| tree | 4d9397d208b3c74bea11056ec9402fdfc81a36f5 /src/miner.cpp | |
| parent | Sanity checks for estimates (diff) | |
| download | discoin-13fc83c77bb9108c00dd7709ce17719edb763273.tar.xz discoin-13fc83c77bb9108c00dd7709ce17719edb763273.zip | |
Move fee policy out of core
Diffstat (limited to 'src/miner.cpp')
| -rw-r--r-- | src/miner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/miner.cpp b/src/miner.cpp index 69e53756e..17918a128 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -236,7 +236,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn) double dPriorityDelta = 0; int64_t nFeeDelta = 0; mempool.ApplyDeltas(hash, dPriorityDelta, nFeeDelta); - if (fSortedByFee && (dPriorityDelta <= 0) && (nFeeDelta <= 0) && (feeRate < CTransaction::minRelayTxFee) && (nBlockSize + nTxSize >= nBlockMinSize)) + if (fSortedByFee && (dPriorityDelta <= 0) && (nFeeDelta <= 0) && (feeRate < ::minRelayTxFee) && (nBlockSize + nTxSize >= nBlockMinSize)) continue; // Prioritise by fee once past the priority size or we run out of high-priority |