Files
thehub/testing/bitcoin-protocol/checkdatasig_tests.h
tomFlowee 2d0aec2cd7 Rename file to match class it is in
This follows the coding style guideline that the file that contains a
class should follow the exact name of this (main) class.

key.{h|cpp} -> PrivateKey.{h|cpp}
2023-11-24 22:20:40 +01:00

45 lines
1.2 KiB
C++

/*
* This file is part of the Flowee project
* Copyright (C) 2018 Tom Zander <tom@flowee.org>
* 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>
#include <primitives/PrivateKey.h>
#include <cstdint>
#include <vector>
struct KeyData
{
PrivateKey privkey, privkeyC;
PublicKey pubkey, pubkeyC, pubkeyH;
KeyData();
};
class CheckDataSig : public TestFloweeEnvPlusNet
{
Q_OBJECT
private slots:
void checkdatasig_test();
void checkdatasig_opcode_formatting();
};
#endif