From 4c46af04830cec3da6ecfbf677ef3d826a5892e6 Mon Sep 17 00:00:00 2001 From: Patrick Lodder Date: Sun, 27 Jun 2021 00:37:10 +0200 Subject: [fees] introduce configurable hard dust limit Co-authored-by: Ross Nicoll --- src/policy/policy.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/policy/policy.cpp') 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) { -- cgit v1.2.3