mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-22 14:35:07 +02:00
Fix IWYU for the script_flags fuzz target
Also, export script_error.h from interpreter.h, because there should rarely be a case where script_error.h is included without interpreter.h
This commit is contained in:
parent
fa71285b73
commit
faf1fb207f
@ -6,21 +6,23 @@
|
||||
#ifndef BITCOIN_SCRIPT_INTERPRETER_H
|
||||
#define BITCOIN_SCRIPT_INTERPRETER_H
|
||||
|
||||
#include <consensus/amount.h>
|
||||
#include <hash.h>
|
||||
#include <script/script_error.h>
|
||||
#include <span.h>
|
||||
#include <primitives/transaction.h>
|
||||
#include <script/script_error.h> // IWYU pragma: export
|
||||
#include <span.h>
|
||||
#include <uint256.h>
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <optional>
|
||||
#include <vector>
|
||||
#include <stdint.h>
|
||||
|
||||
class CPubKey;
|
||||
class XOnlyPubKey;
|
||||
class CScript;
|
||||
class CTransaction;
|
||||
class CTxOut;
|
||||
class uint256;
|
||||
class CScriptNum;
|
||||
class XOnlyPubKey;
|
||||
struct CScriptWitness;
|
||||
|
||||
/** Signature hash types/flags */
|
||||
enum
|
||||
|
@ -3,12 +3,17 @@
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <consensus/amount.h>
|
||||
#include <pubkey.h>
|
||||
#include <primitives/transaction.h>
|
||||
#include <script/interpreter.h>
|
||||
#include <serialize.h>
|
||||
#include <streams.h>
|
||||
#include <test/fuzz/fuzz.h>
|
||||
#include <test/util/script.h>
|
||||
|
||||
#include <test/fuzz/fuzz.h>
|
||||
#include <cassert>
|
||||
#include <ios>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
FUZZ_TARGET(script_flags)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user