Changeset View
Changeset View
Standalone View
Standalone View
src/qt/paymentserver.h
Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Lines | public: | ||||
// Verify that the payment request network matches the client network | // Verify that the payment request network matches the client network | ||||
static bool verifyNetwork(const payments::PaymentDetails &requestDetails); | static bool verifyNetwork(const payments::PaymentDetails &requestDetails); | ||||
// Verify if the payment request is expired | // Verify if the payment request is expired | ||||
static bool verifyExpired(const payments::PaymentDetails &requestDetails); | static bool verifyExpired(const payments::PaymentDetails &requestDetails); | ||||
// Verify the payment request size is valid as per BIP70 | // Verify the payment request size is valid as per BIP70 | ||||
static bool verifySize(qint64 requestSize); | static bool verifySize(qint64 requestSize); | ||||
// Verify the payment request amount is valid | // Verify the payment request amount is valid | ||||
static bool verifyAmount(const CAmount &requestAmount); | static bool verifyAmount(const Amount requestAmount); | ||||
Q_SIGNALS: | Q_SIGNALS: | ||||
// Fired when a valid payment request is received | // Fired when a valid payment request is received | ||||
void receivedPaymentRequest(SendCoinsRecipient); | void receivedPaymentRequest(SendCoinsRecipient); | ||||
// Fired when a valid PaymentACK is received | // Fired when a valid PaymentACK is received | ||||
void receivedPaymentACK(const QString &paymentACKMsg); | void receivedPaymentACK(const QString &paymentACKMsg); | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |