aboutsummaryrefslogtreecommitdiff
path: root/src/primitives
diff options
context:
space:
mode:
authorMichi Lumin <[email protected]>2021-05-06 15:30:55 -0600
committermichilumin <[email protected]>2021-07-30 16:07:22 -0600
commit575f734eec14b122b2e460dcefb56a54840ea479 (patch)
tree7765fbeda190b3630de9810f4b246a7c1c0c5e75 /src/primitives
parentMerge pull request #2426 from xanimo/1.14.4-qa (diff)
downloadarchived-discoin-575f734eec14b122b2e460dcefb56a54840ea479.tar.xz
archived-discoin-575f734eec14b122b2e460dcefb56a54840ea479.zip
Initial back end framework to separate wallet and relay fees + dust.
Diffstat (limited to 'src/primitives')
-rw-r--r--src/primitives/transaction.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/primitives/transaction.h b/src/primitives/transaction.h
index 5d9869dcb..16a92bf2e 100644
--- a/src/primitives/transaction.h
+++ b/src/primitives/transaction.h
@@ -161,7 +161,7 @@ public:
return (nValue == -1);
}
- CAmount GetDustThreshold(const CFeeRate &minRelayTxFee) const
+ CAmount GetDustThreshold(const CFeeRate &minRelayTxFeeRate) const
{
// "Dust" is defined in terms of CTransaction::minRelayTxFee,
// which has units satoshis-per-kilobyte.
@@ -198,9 +198,9 @@ public:
return COIN;
}
- bool IsDust(const CFeeRate &minRelayTxFee) const
+ bool IsDust(const CFeeRate &minRelayTxFeeRate) const
{
- return (nValue < GetDustThreshold(minRelayTxFee));
+ return (nValue < GetDustThreshold(minRelayTxFeeRate));
}
friend bool operator==(const CTxOut& a, const CTxOut& b)