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