Files

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

2026-05-09 08:29:15 +02:00
/*
* This file is part of the Flowee project
* Copyright (C) 2026 The Flowee developers
*
* 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/>.
*/
2026-05-12 00:11:11 +02:00
#include <common/TestFloweeEnvPlusNet.h>
2026-05-09 08:29:15 +02:00
2026-05-12 00:11:11 +02:00
class SighashUtxosTests : public TestFloweeEnvPlusNet
2026-05-09 08:29:15 +02:00
{
Q_OBJECT
private slots:
2026-05-12 00:11:11 +02:00
void signature_hash_commits_to_all_utxos();
void signature_hash_commits_to_token_prefix();
2026-05-14 08:52:55 +02:00
void signature_hash_commits_to_token_prefix_contents();
void signature_hash_commits_to_current_input_token_prefix_without_utxos();
2026-05-12 00:11:11 +02:00
void checksig_requires_full_utxo_context();
void signature_encoding_rules();
2026-05-09 08:29:15 +02:00
};