32 ScriptToUniv(script, o1, fuzzed_data_provider.ConsumeBool(), fuzzed_data_provider.ConsumeBool());
std::string FormatScript(const CScript &script)
static const int WITNESS_SCALE_FACTOR
static const std::string REGTEST
CScript ConsumeScript(FuzzedDataProvider &fuzzed_data_provider, const bool maybe_p2wsh) noexcept
std::string ScriptToAsmStr(const CScript &script, const bool fAttemptSighashDecode=false)
Create the assembly string representation of a CScript object.
void SelectParams(const std::string &network)
Sets the params returned by Params() to those for the given chain name.
static constexpr unsigned int MAX_STANDARD_TX_WEIGHT
The maximum weight for transactions we're willing to relay/mine.
Serialized script, used inside transaction inputs and outputs.
void ScriptToUniv(const CScript &script, UniValue &out, bool include_hex=true, bool include_address=false)