Files
thehub/testing/bitcoin-protocol/sighash_utxos_tests.h

32 lines
1.2 KiB
C++

/*
* 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/>.
*/
#include <common/TestFloweeEnvPlusNet.h>
class SighashUtxosTests : public TestFloweeEnvPlusNet
{
Q_OBJECT
private slots:
void signature_hash_commits_to_all_utxos();
void signature_hash_commits_to_token_prefix();
void signature_hash_commits_to_token_prefix_contents();
void signature_hash_commits_to_current_input_token_prefix_without_utxos();
void checksig_requires_full_utxo_context();
void signature_encoding_rules();
};