diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2014-11-19 12:53:57 +0100 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2014-12-08 16:08:59 +0100 |
commit | 31f84944a5f6f1aa07e36e7700e9ab16be88aa42 (patch) | |
tree | ff034e37cefcb11bfabf34d3a2bb354efee0ca3c /src/qt/paymentserver.h | |
parent | 2284ccbd13f145e913e2a77ba5ddd04d995bce14 (diff) |
[Qt] add BIP70 payment request size DoS protection for URIs
- current code only does this for payment request files, which are
used on Mac
- also rename readPaymentRequest to readPaymentRequestFromFile, so it's
obvious that function only handles payment request files and not URIs
- small logging changes in readPaymentRequestFromFile
Diffstat (limited to 'src/qt/paymentserver.h')
-rw-r--r-- | src/qt/paymentserver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/paymentserver.h b/src/qt/paymentserver.h index 0103cbdd0d..9acd99723c 100644 --- a/src/qt/paymentserver.h +++ b/src/qt/paymentserver.h @@ -118,7 +118,7 @@ protected: bool eventFilter(QObject *object, QEvent *event); private: - static bool readPaymentRequest(const QString& filename, PaymentRequestPlus& request); + static bool readPaymentRequestFromFile(const QString& filename, PaymentRequestPlus& request); bool processPaymentRequest(PaymentRequestPlus& request, SendCoinsRecipient& recipient); void fetchRequest(const QUrl& url); |