5#ifndef BITCOIN_TEST_UTIL_SCRIPT_H
6#define BITCOIN_TEST_UTIL_SCRIPT_H
21static const std::vector<uint8_t>
EMPTY{};
A hasher class for SHA-256.
void Finalize(unsigned char hash[OUTPUT_SIZE])
CSHA256 & Write(const unsigned char *data, size_t len)
Serialized script, used inside transaction inputs and outputs.
constexpr unsigned char * begin()
std::vector< unsigned char > ToByteVector(const T &in)
static const std::vector< std::vector< uint8_t > > P2WSH_EMPTY_TRUE_STACK
static const std::vector< std::vector< uint8_t > > P2WSH_EMPTY_TWO_STACK
static const std::vector< uint8_t > WITNESS_STACK_ELEM_OP_TRUE
static const std::vector< uint8_t > EMPTY
static const CScript P2WSH_OP_TRUE
static const CScript P2WSH_EMPTY
bool IsValidFlagCombination(unsigned flags)
Flags that are not forbidden by an assert in script validation.