Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions src/test/sigopcount_tests.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
// Copyright (c) 2012-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include <vector>
#include <boost/test/unit_test.hpp>

#include "script.h"
#include "key.h"

using namespace std;
#include <script.h>
#include <key.h>

// Helpers:
static std::vector<unsigned char>
Expand Down
16 changes: 10 additions & 6 deletions src/test/transaction_tests.cpp
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
// Copyright (c) 2011-2020 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include <map>
#include <string>
#include <boost/test/unit_test.hpp>

#include "main.h"
#include "streams.h"
#include "wallet/wallet.h"
#include <main.h>
#include <streams.h>
#include <wallet/wallet.h>
#include <policy/policy.h>

#include "test/data/tx_valid.json.h"
#include "test/data/tx_invalid.json.h"
#include <test/data/tx_valid.json.h>
#include <test/data/tx_invalid.json.h>

#include <univalue.h>

Expand Down Expand Up @@ -257,7 +261,7 @@ SetupDummyInputs(CBasicKeyStore& keystoreRet, MapPrevTx& inputsRet)
for (int i = 0; i < 4; i++)
{
key[i].MakeNewKey(i % 2);
keystoreRet.AddKey(key[i]);
BOOST_CHECK(keystoreRet.AddKey(key[i]));
}

// Create some dummy input transactions
Expand Down