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