diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-10-18 14:03:17 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-10-23 09:15:25 +0200 |
commit | 786b066f037bf2d7ba7fe0df1a4e15b22ab65599 (patch) | |
tree | 5477946fc4ebfedd3c3cec67e03d0a0f8caabf7e /src/qt/guiutil.h | |
parent | 8a7f37c7972504d25225c96f225503c329aaf6fa (diff) |
qt: move bitcoin URI formatting to guiutil
Follow the same pattern as the parseBitcoinURI function.
Diffstat (limited to 'src/qt/guiutil.h')
-rw-r--r-- | src/qt/guiutil.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h index 8472700f48..956f550989 100644 --- a/src/qt/guiutil.h +++ b/src/qt/guiutil.h @@ -35,6 +35,7 @@ namespace GUIUtil // See Bitcoin URI definition discussion here: https://bitcointalk.org/index.php?topic=33490.0 bool parseBitcoinURI(const QUrl &uri, SendCoinsRecipient *out); bool parseBitcoinURI(QString uri, SendCoinsRecipient *out); + QString formatBitcoinURI(const SendCoinsRecipient &info); // Returns true if given address+amount meets "dust" definition bool isDust(const QString& address, qint64 amount); |