5 #ifndef BITCOIN_TEST_UTIL_SCRIPT_H 6 #define BITCOIN_TEST_UTIL_SCRIPT_H 24 #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
constexpr unsigned char * begin()
static const std::vector< uint8_t > WITNESS_STACK_ELEM_OP_TRUE
std::vector< unsigned char > ToByteVector(const T &in)
Serialized script, used inside transaction inputs and outputs.
A hasher class for SHA-256.