aboutsummaryrefslogtreecommitdiff
path: root/src/policy
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-04-22 12:20:18 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-05-01 09:42:50 +0200
commitfa83e95ac6f318caa38016a08fa4e402c3b05833 (patch)
tree202396dbde7efc488edb7ac229b712e9f18dda64 /src/policy
parent480bf01c295527bd212964efe4df3bb886db5654 (diff)
downloadbitcoin-fa83e95ac6f318caa38016a08fa4e402c3b05833.tar.xz
scripted-diff: Clarify that feerates are per virtual size
-BEGIN VERIFY SCRIPT- sed -i 's|/kB|/kvB|g' $( git grep -l '/kB' ./src ) -END VERIFY SCRIPT-
Diffstat (limited to 'src/policy')
-rw-r--r--src/policy/policy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/policy/policy.cpp b/src/policy/policy.cpp
index 2b5fd4179d..9e433584e7 100644
--- a/src/policy/policy.cpp
+++ b/src/policy/policy.cpp
@@ -21,12 +21,12 @@ CAmount GetDustThreshold(const CTxOut& txout, const CFeeRate& dustRelayFeeIn)
// need a CTxIn of at least 148 bytes to spend:
// so dust is a spendable txout less than
// 182*dustRelayFee/1000 (in satoshis).
- // 546 satoshis at the default rate of 3000 sat/kB.
+ // 546 satoshis at the default rate of 3000 sat/kvB.
// A typical spendable segwit txout is 31 bytes big, and will
// need a CTxIn of at least 67 bytes to spend:
// so dust is a spendable txout less than
// 98*dustRelayFee/1000 (in satoshis).
- // 294 satoshis at the default rate of 3000 sat/kB.
+ // 294 satoshis at the default rate of 3000 sat/kvB.
if (txout.scriptPubKey.IsUnspendable())
return 0;