5#ifndef BITCOIN_SIGNET_H
6#define BITCOIN_SIGNET_H
31 template<
class T1,
class T2>
const CChainParams & Params()
Return the currently selected parameters.
Serialized script, used inside transaction inputs and outputs.
The basic transaction that is broadcasted on the network and contained in blocks.
Generate the signet tx corresponding to the given block.
SignetTxs(const T1 &to_spend, const T2 &to_sign)
static std::optional< SignetTxs > Create(const CBlock &block, const CScript &challenge)
const CTransaction m_to_sign
const CTransaction m_to_spend
Transaction validation functions.
bool CheckSignetBlockSolution(const CBlock &block, const Consensus::Params &consensusParams)
Extract signature and check whether a block has a valid solution.
Parameters that influence chain consensus.