2020-10-07 10:36:04 +00:00
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2020-12-26 19:56:06 +00:00
|
|
|
// Copyright (c) 2020-2021, The Monero Project.
|
2020-10-07 10:36:04 +00:00
|
|
|
|
|
|
|
#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:
|
2020-11-24 19:26:57 +00:00
|
|
|
void checkProof();
|
2020-10-07 10:36:04 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
void checkTxProof(const QString &txId, const QString &address, const QString &message, const QString &signature);
|
2020-11-24 19:26:57 +00:00
|
|
|
void checkSpendProof();
|
|
|
|
void checkOutProof();
|
|
|
|
void checkInProof();
|
2020-10-07 10:36:04 +00:00
|
|
|
|
|
|
|
Ui::VerifyProofDialog *ui;
|
|
|
|
Wallet *m_wallet;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //FEATHER_VERIFYPROOFDIALOG_H
|