aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.h
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2017-04-18 17:06:13 -0400
committerJohn Newbery <john@johnnewbery.com>2018-04-04 16:52:40 -0400
commite872c93ee87477130fb877da1a536b4c693bbab9 (patch)
treeb6628020b9d5775ccb1f009852ad692ff2633d96 /src/qt/guiutil.h
parent58845587e11140e81f087a74c3db76a4d1fc3a1a (diff)
Remove direct bitcoin access from qt/guiutil.cpp
Diffstat (limited to 'src/qt/guiutil.h')
-rw-r--r--src/qt/guiutil.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h
index bbbeaf2c43..40037edb9d 100644
--- a/src/qt/guiutil.h
+++ b/src/qt/guiutil.h
@@ -20,6 +20,11 @@
class QValidatedLineEdit;
class SendCoinsRecipient;
+namespace interface
+{
+ class Node;
+}
+
QT_BEGIN_NAMESPACE
class QAbstractItemView;
class QDateTime;
@@ -49,7 +54,7 @@ namespace GUIUtil
QString formatBitcoinURI(const SendCoinsRecipient &info);
// Returns true if given address+amount meets "dust" definition
- bool isDust(const QString& address, const CAmount& amount);
+ bool isDust(interface::Node& node, const QString& address, const CAmount& amount);
// HTML escaping for rich text controls
QString HtmlEscape(const QString& str, bool fMultiLine=false);