mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-02 01:04:43 +02:00
Introduce -dustrelayfee
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
#include "primitives/transaction.h"
|
||||
#include "init.h"
|
||||
#include "validation.h" // For minRelayTxFee
|
||||
#include "policy/policy.h"
|
||||
#include "protocol.h"
|
||||
#include "script/script.h"
|
||||
#include "script/standard.h"
|
||||
@@ -257,7 +257,7 @@ bool isDust(const QString& address, const CAmount& amount)
|
||||
CTxDestination dest = CBitcoinAddress(address.toStdString()).Get();
|
||||
CScript script = GetScriptForDestination(dest);
|
||||
CTxOut txOut(amount, script);
|
||||
return txOut.IsDust(::minRelayTxFee);
|
||||
return txOut.IsDust(dustRelayFee);
|
||||
}
|
||||
|
||||
QString HtmlEscape(const QString& str, bool fMultiLine)
|
||||
|
||||
Reference in New Issue
Block a user