Changeset View
Changeset View
Standalone View
Standalone View
src/qt/paymentserver.h
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | public: | ||||
// Returns true if there were URIs on the command line which were | // Returns true if there were URIs on the command line which were | ||||
// successfully sent to an already-running process. | // successfully sent to an already-running process. | ||||
// Note: if a payment request is given, SelectParams(MAIN/TESTNET) will be | // Note: if a payment request is given, SelectParams(MAIN/TESTNET) will be | ||||
// called so we startup in the right mode. | // called so we startup in the right mode. | ||||
static bool ipcSendCommandLine(); | static bool ipcSendCommandLine(); | ||||
// parent should be QApplication object | // parent should be QApplication object | ||||
PaymentServer(QObject *parent, bool startLocalServer = true); | explicit PaymentServer(QObject *parent, bool startLocalServer = true); | ||||
~PaymentServer(); | ~PaymentServer(); | ||||
// Load root certificate authorities. Pass nullptr (default) to read from | // Load root certificate authorities. Pass nullptr (default) to read from | ||||
// the file specified in the -rootcertificates setting, or, if that's not | // the file specified in the -rootcertificates setting, or, if that's not | ||||
// set, to use the system default root certificates. If you pass in a store, | // set, to use the system default root certificates. If you pass in a store, | ||||
// you should not X509_STORE_free it: it will be freed either at exit or | // you should not X509_STORE_free it: it will be freed either at exit or | ||||
// when another set of CAs are loaded. | // when another set of CAs are loaded. | ||||
static void LoadRootCAs(X509_STORE *store = nullptr); | static void LoadRootCAs(X509_STORE *store = nullptr); | ||||
▲ Show 20 Lines • Show All 72 Lines • Show Last 20 Lines |