5#include <chainparams.h>
28 const std::optional<CBlock> block = ConsumeDeserializable<CBlock>(fuzzed_data_provider,
TX_WITH_WITNESS);
const CChainParams & Params()
Return the currently selected parameters.
const Consensus::Params & GetConsensus() const
static std::optional< SignetTxs > Create(const CBlock &block, const CScript &challenge)
static constexpr TransactionSerParams TX_WITH_WITNESS
bool CheckSignetBlockSolution(const CBlock &block, const Consensus::Params &consensusParams)
Extract signature and check whether a block has a valid solution.
FUZZ_TARGET(signet,.init=initialize_signet)
CScript ConsumeScript(FuzzedDataProvider &fuzzed_data_provider, const bool maybe_p2wsh) noexcept