Changeset View
Changeset View
Standalone View
Standalone View
src/test/sighashtype_tests.cpp
// Copyright (c) 2018-2019 The Bitcoin developers | // Copyright (c) 2018-2019 The Bitcoin developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include <script/sighashtype.h> | #include <script/sighashtype.h> | ||||
#include <streams.h> | #include <streams.h> | ||||
#include <test/test_bitcoin.h> | #include <test/setup_common.h> | ||||
#include <boost/test/unit_test.hpp> | #include <boost/test/unit_test.hpp> | ||||
#include <set> | #include <set> | ||||
BOOST_FIXTURE_TEST_SUITE(sighashtype_tests, BasicTestingSetup) | BOOST_FIXTURE_TEST_SUITE(sighashtype_tests, BasicTestingSetup) | ||||
static void CheckSigHashType(SigHashType t, BaseSigHashType baseType, | static void CheckSigHashType(SigHashType t, BaseSigHashType baseType, | ||||
▲ Show 20 Lines • Show All 104 Lines • Show Last 20 Lines |