forked from wowlet/wowlet
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
746 B
35 lines
746 B
4 years ago
|
// SPDX-License-Identifier: BSD-3-Clause
|
||
|
// Copyright (c) 2020, The Monero Project.
|
||
|
|
||
|
#ifndef FEATHER_VERIFYPROOFDIALOG_H
|
||
|
#define FEATHER_VERIFYPROOFDIALOG_H
|
||
|
|
||
|
#include <QDialog>
|
||
|
#include "libwalletqt/Wallet.h"
|
||
|
|
||
|
namespace Ui {
|
||
|
class VerifyProofDialog;
|
||
|
}
|
||
|
|
||
|
class VerifyProofDialog : public QDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit VerifyProofDialog(Wallet *wallet, QWidget *parent = nullptr);
|
||
|
~VerifyProofDialog() override;
|
||
|
|
||
|
private slots:
|
||
|
void checkSpendProof();
|
||
|
void checkOutProof();
|
||
|
void checkInProof();
|
||
|
|
||
|
private:
|
||
|
void checkTxProof(const QString &txId, const QString &address, const QString &message, const QString &signature);
|
||
|
|
||
|
Ui::VerifyProofDialog *ui;
|
||
|
Wallet *m_wallet;
|
||
|
};
|
||
|
|
||
|
#endif //FEATHER_VERIFYPROOFDIALOG_H
|