Skip to content

Commit

Permalink
More liberal block creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Duffield committed Sep 26, 2015
1 parent 4733285 commit bda45f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
double dPriorityDelta = 0;
CAmount nFeeDelta = 0;
mempool.ApplyDeltas(hash, dPriorityDelta, nFeeDelta);
if (fSortedByFee && (dPriorityDelta <= 0) && (nFeeDelta <= 0) && (feeRate < ::minRelayTxFee) && (nBlockSize + nTxSize >= nBlockMinSize))
continue;
// 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
// transactions:
Expand Down

2 comments on commit bda45f1

@UdjinM6
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be reverted imo

@eduffield222
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted. I'll look into it more when I get back from NL, maybe it's a non-issue.

Please sign in to comment.