Pay payment requests
This commit is contained in:
@@ -13,6 +13,15 @@ struct Config {
|
||||
struct ToFields;
|
||||
struct Tx;
|
||||
|
||||
struct PaymentURI {
|
||||
QString addr;
|
||||
QString amt;
|
||||
QString memo;
|
||||
|
||||
// Any errors are stored here
|
||||
QString error;
|
||||
};
|
||||
|
||||
class Settings
|
||||
{
|
||||
public:
|
||||
@@ -68,6 +77,9 @@ public:
|
||||
|
||||
static void saveRestore(QDialog* d);
|
||||
|
||||
static PaymentURI parseURI(QString paymentURI);
|
||||
static QString paymentURIPretty(PaymentURI);
|
||||
|
||||
static bool isZAddress(QString addr);
|
||||
static bool isTAddress(QString addr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user