5 #ifndef FABCOIN_QT_PAYMENTSERVER_H 6 #define FABCOIN_QT_PAYMENTSERVER_H 49 class QNetworkAccessManager;
56 static const qint64 BIP70_MAX_PAYMENTREQUEST_SIZE = 50000;
83 static void LoadRootCAs(X509_STORE* store =
nullptr);
108 void message(
const QString &title,
const QString &
message,
unsigned int style);
148 #endif // FABCOIN_QT_PAYMENTSERVER_H static void LoadRootCAs(X509_STORE *store=nullptr)
static bool verifyAmount(const CAmount &requestAmount)
void message(const QString &title, const QString &message, unsigned int style)
static bool verifyNetwork(const payments::PaymentDetails &requestDetails)
void setOptionsModel(OptionsModel *optionsModel)
bool processPaymentRequest(const PaymentRequestPlus &request, SendCoinsRecipient &recipient)
bool eventFilter(QObject *object, QEvent *event)
void handlePaymentACK(const QString &paymentACKMsg)
void receivedPaymentACK(const QString &paymentACKMsg)
void receivedPaymentRequest(SendCoinsRecipient)
static void ipcParseCommandLine(int argc, char *argv[])
void handleURIOrFile(const QString &s)
static bool ipcSendCommandLine()
int64_t CAmount
Amount in lius (Can be negative)
void netRequestFinished(QNetworkReply *)
static bool readPaymentRequestFromFile(const QString &filename, PaymentRequestPlus &request)
void fetchRequest(const QUrl &url)
static bool verifyExpired(const payments::PaymentDetails &requestDetails)
PaymentServer(QObject *parent, bool startLocalServer=true)
static X509_STORE * getCertStore()
QNetworkAccessManager * netManager
void reportSslErrors(QNetworkReply *, const QList< QSslError > &)
void fetchPaymentACK(CWallet *wallet, SendCoinsRecipient recipient, QByteArray transaction)
Interface from Qt to configuration data structure for Fabcoin client.
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
void handleURIConnection()
static bool verifySize(qint64 requestSize)
OptionsModel * optionsModel