Changeset View
Changeset View
Standalone View
Standalone View
src/qt/paymentserver.h
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | |||||
static const qint64 BIP70_MAX_PAYMENTREQUEST_SIZE = 50000; | static const qint64 BIP70_MAX_PAYMENTREQUEST_SIZE = 50000; | ||||
class PaymentServer : public QObject { | class PaymentServer : public QObject { | ||||
Q_OBJECT | Q_OBJECT | ||||
public: | public: | ||||
// Parse URIs on command line | // Parse URIs on command line | ||||
// Returns false on error | // Returns false on error | ||||
static void ipcParseCommandLine(int argc, char *argv[]); | static std::string ipcParseCommandLine(int argc, char *argv[]); | ||||
// 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 | ||||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |