aboutsummaryrefslogtreecommitdiff
path: root/src/policy/policy.cpp
diff options
context:
space:
mode:
authorPatrick Lodder <[email protected]>2021-06-27 00:37:10 +0200
committerPatrick Lodder <[email protected]>2021-08-05 18:24:17 +0200
commit4c46af04830cec3da6ecfbf677ef3d826a5892e6 (patch)
tree8e2c6490458c57ff690788195b298cc4edd07891 /src/policy/policy.cpp
parentMerge pull request #2415 from rnicoll/1.14.4-rbf-fee (diff)
downloaddiscoin-4c46af04830cec3da6ecfbf677ef3d826a5892e6.tar.xz
discoin-4c46af04830cec3da6ecfbf677ef3d826a5892e6.zip
[fees] introduce configurable hard dust limit
Co-authored-by: Ross Nicoll <[email protected]>
Diffstat (limited to 'src/policy/policy.cpp')
-rw-r--r--src/policy/policy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/policy/policy.cpp b/src/policy/policy.cpp
index ec398f662..7b2b23964 100644
--- a/src/policy/policy.cpp
+++ b/src/policy/policy.cpp
@@ -209,6 +209,7 @@ bool IsWitnessStandard(const CTransaction& tx, const CCoinsViewCache& mapInputs)
CFeeRate incrementalRelayFee = CFeeRate(DEFAULT_INCREMENTAL_RELAY_FEE);
CFeeRate dustRelayFee = CFeeRate(DUST_RELAY_TX_FEE);
unsigned int nBytesPerSigOp = DEFAULT_BYTES_PER_SIGOP;
+unsigned int nDustLimit = DEFAULT_DUST_LIMIT;
int64_t GetVirtualTransactionSize(int64_t nWeight, int64_t nSigOpCost)
{