aboutsummaryrefslogtreecommitdiff
path: root/src/policy/policy.cpp
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2021-08-05 22:21:53 +0100
committerGitHub <[email protected]>2021-08-05 22:21:53 +0100
commit5db95e5a5f48eb76601946ea670ee3b2a33e2a4b (patch)
tree601ebf9d1837710dffdb5ff9b96e8acd903a4a9a /src/policy/policy.cpp
parentMerge pull request #2415 from rnicoll/1.14.4-rbf-fee (diff)
parent[fees] Express policies in COIN instead of Koinu (diff)
downloaddiscoin-5db95e5a5f48eb76601946ea670ee3b2a33e2a4b.tar.xz
discoin-5db95e5a5f48eb76601946ea670ee3b2a33e2a4b.zip
Merge pull request #2348 from patricklodder/1.14-cfg-dust-limit
[fees] introduce configurable hard dust limit
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)
{