![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <paymentserver.h>
Public Slots | |
void | uiReady () |
void | fetchPaymentACK (CWallet *wallet, SendCoinsRecipient recipient, QByteArray transaction) |
void | handleURIOrFile (const QString &s) |
Signals | |
void | receivedPaymentRequest (SendCoinsRecipient) |
void | receivedPaymentACK (const QString &paymentACKMsg) |
void | message (const QString &title, const QString &message, unsigned int style) |
Public Member Functions | |
PaymentServer (QObject *parent, bool startLocalServer=true) | |
~PaymentServer () | |
void | setOptionsModel (OptionsModel *optionsModel) |
Static Public Member Functions | |
static void | ipcParseCommandLine (int argc, char *argv[]) |
static bool | ipcSendCommandLine () |
static void | LoadRootCAs (X509_STORE *store=NULL) |
static X509_STORE * | getCertStore () |
static bool | verifyNetwork (const payments::PaymentDetails &requestDetails) |
static bool | verifyExpired (const payments::PaymentDetails &requestDetails) |
static bool | verifySize (qint64 requestSize) |
static bool | verifyAmount (const CAmount &requestAmount) |
Protected Member Functions | |
bool | eventFilter (QObject *object, QEvent *event) |
Private Slots | |
void | handleURIConnection () |
void | netRequestFinished (QNetworkReply *) |
void | reportSslErrors (QNetworkReply *, const QList< QSslError > &) |
void | handlePaymentACK (const QString &paymentACKMsg) |
Private Member Functions | |
bool | processPaymentRequest (const PaymentRequestPlus &request, SendCoinsRecipient &recipient) |
void | fetchRequest (const QUrl &url) |
void | initNetManager () |
Static Private Member Functions | |
static bool | readPaymentRequestFromFile (const QString &filename, PaymentRequestPlus &request) |
Private Attributes | |
bool | saveURIs |
QLocalServer * | uriServer |
QNetworkAccessManager * | netManager |
OptionsModel * | optionsModel |
Definition at line 58 of file paymentserver.h.
PaymentServer::PaymentServer | ( | QObject * | parent, |
bool | startLocalServer = true |
||
) |
Definition at line 301 of file paymentserver.cpp.
PaymentServer::~PaymentServer | ( | ) |
Definition at line 339 of file paymentserver.cpp.
|
protected |
Definition at line 349 of file paymentserver.cpp.
|
slot |
Definition at line 624 of file paymentserver.cpp.
|
private |
Definition at line 614 of file paymentserver.cpp.
Referenced by handleURIOrFile().
|
static |
Definition at line 812 of file paymentserver.cpp.
Referenced by TransactionDesc::toHTML().
|
privateslot |
Definition at line 758 of file paymentserver.cpp.
Referenced by PaymentServer().
|
privateslot |
Definition at line 479 of file paymentserver.cpp.
Referenced by PaymentServer().
|
slot |
Definition at line 403 of file paymentserver.cpp.
Referenced by eventFilter(), handleURIConnection(), and uiReady().
|
private |
Definition at line 364 of file paymentserver.cpp.
Referenced by uiReady().
|
static |
Definition at line 205 of file paymentserver.cpp.
Referenced by main().
|
static |
Definition at line 268 of file paymentserver.cpp.
Referenced by main().
|
static |
Definition at line 114 of file paymentserver.cpp.
Referenced by BitcoinApplication::initializeResult().
|
signal |
Definition at line 206 of file moc_paymentserver.cpp.
Referenced by handlePaymentACK(), handleURIOrFile(), netRequestFinished(), processPaymentRequest(), and reportSslErrors().
|
privateslot |
Definition at line 679 of file paymentserver.cpp.
Referenced by initNetManager().
|
private |
Definition at line 522 of file paymentserver.cpp.
Referenced by handleURIOrFile(), and netRequestFinished().
|
staticprivate |
Definition at line 504 of file paymentserver.cpp.
Referenced by handleURIOrFile(), and ipcParseCommandLine().
|
signal |
Definition at line 199 of file moc_paymentserver.cpp.
Referenced by netRequestFinished(), and PaymentServer().
|
signal |
Definition at line 192 of file moc_paymentserver.cpp.
Referenced by handleURIOrFile(), and netRequestFinished().
|
privateslot |
Definition at line 741 of file paymentserver.cpp.
Referenced by initNetManager().
void PaymentServer::setOptionsModel | ( | OptionsModel * | optionsModel | ) |
Definition at line 753 of file paymentserver.cpp.
|
slot |
Definition at line 391 of file paymentserver.cpp.
|
static |
Definition at line 800 of file paymentserver.cpp.
Referenced by processPaymentRequest().
|
static |
Definition at line 776 of file paymentserver.cpp.
Referenced by processPaymentRequest(), and WalletModel::sendCoins().
|
static |
Definition at line 764 of file paymentserver.cpp.
Referenced by processPaymentRequest().
|
static |
Definition at line 788 of file paymentserver.cpp.
Referenced by netRequestFinished(), and readPaymentRequestFromFile().
|
private |
Definition at line 143 of file paymentserver.h.
Referenced by fetchPaymentACK(), fetchRequest(), and initNetManager().
|
private |
Definition at line 145 of file paymentserver.h.
Referenced by initNetManager(), processPaymentRequest(), and setOptionsModel().
|
private |
Definition at line 140 of file paymentserver.h.
Referenced by handleURIOrFile(), and uiReady().
|
private |
Definition at line 141 of file paymentserver.h.
Referenced by handleURIConnection(), and PaymentServer().