Changeset View
Changeset View
Standalone View
Standalone View
src/test/finalization_tests.cpp
// Copyright (c) 2018 The Bitcoin developers | // Copyright (c) 2018 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 "chainparams.h" | #include <chainparams.h> | ||||
#include "config.h" | #include <config.h> | ||||
#include "test/test_bitcoin.h" | #include <validation.h> | ||||
#include "validation.h" | |||||
#include <test/test_bitcoin.h> | |||||
#include <boost/test/unit_test.hpp> | #include <boost/test/unit_test.hpp> | ||||
BOOST_FIXTURE_TEST_SUITE(finalization_tests, TestChain100Setup) | BOOST_FIXTURE_TEST_SUITE(finalization_tests, TestChain100Setup) | ||||
BOOST_AUTO_TEST_CASE(finalizationDelay) { | BOOST_AUTO_TEST_CASE(finalizationDelay) { | ||||
CScript p2pk_scriptPubKey = | CScript p2pk_scriptPubKey = | ||||
CScript() << ToByteVector(coinbaseKey.GetPubKey()) << OP_CHECKSIG; | CScript() << ToByteVector(coinbaseKey.GetPubKey()) << OP_CHECKSIG; | ||||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |