5 #ifndef BITCOIN_SIGNET_H 6 #define BITCOIN_SIGNET_H 27 template<
class T1,
class T2>
37 #endif // BITCOIN_SIGNET_H
static std::optional< SignetTxs > Create(const CBlock &block, const CScript &challenge)
SignetTxs(const T1 &to_spend, const T2 &to_sign)
bool CheckSignetBlockSolution(const CBlock &block, const Consensus::Params &consensusParams)
Extract signature and check whether a block has a valid solution.
const CTransaction m_to_sign
Parameters that influence chain consensus.
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.
const CTransaction m_to_spend