Files

45 lines
1.2 KiB
C++
Raw Permalink Normal View History

2018-12-28 12:10:28 +01:00
/*
* This file is part of the Flowee project
2021-06-20 22:44:44 +02:00
* Copyright (C) 2018 Tom Zander <tom@flowee.org>
2018-12-28 12:10:28 +01:00
* Copyright (C) 2018 Amaury Séchet <deadalnix@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CHECKDATASIG_TESTS_H
#define CHECKDATASIG_TESTS_H
#include <common/TestFloweeEnvPlusNet.h>
2023-11-24 18:16:32 +01:00
#include <primitives/PrivateKey.h>
2018-12-28 12:10:28 +01:00
#include <cstdint>
#include <vector>
struct KeyData
{
2022-07-06 22:12:33 +02:00
PrivateKey privkey, privkeyC;
2022-07-06 21:56:34 +02:00
PublicKey pubkey, pubkeyC, pubkeyH;
2018-12-28 12:10:28 +01:00
KeyData();
};
class CheckDataSig : public TestFloweeEnvPlusNet
{
Q_OBJECT
private slots:
void checkdatasig_test();
void checkdatasig_opcode_formatting();
};
#endif