diff options
| author | Ross Nicoll <[email protected]> | 2021-08-09 23:27:38 +0100 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2021-08-17 08:50:42 +0100 |
| commit | ce6e3d8137128e99b2f7f99f79327b8b440df0a2 (patch) | |
| tree | efcc20108c599f774d5df680eed7c91e7476b14b /src/miner.cpp | |
| parent | Merge pull request #2457 from ReverseControl/1.14.4-suggested-changes-for-2297 (diff) | |
| download | discoin-ce6e3d8137128e99b2f7f99f79327b8b440df0a2.tar.xz discoin-ce6e3d8137128e99b2f7f99f79327b8b440df0a2.zip | |
Remove relay-only rounding
Remove rounding of transaction sizes when calculating fee minimums for relaying,
to simplify fee logic.
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 55a90b86f..c4ec82d6a 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -490,7 +490,7 @@ void BlockAssembler::addPackageTxs(int &nPackagesSelected, int &nDescendantsUpda packageSigOpsCost = modit->nSigOpCostWithAncestors; } - if (packageFees < blockMinFeeRate.GetFee(packageSize)) { + if (packageFees < blockMinFeeRate.GetRelayFee(packageSize)) { // Everything else we might consider has a lower fee rate return; } |