 |
Bitcoin Core
21.99.0
P2P Digital Currency
|
Go to the documentation of this file.
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)
const CTransaction m_to_spend
bool CheckSignetBlockSolution(const CBlock &block, const Consensus::Params &consensusParams)
Extract signature and check whether a block has a valid solution.
The basic transaction that is broadcasted on the network and contained in blocks.
Parameters that influence chain consensus.
SignetTxs(const T1 &to_spend, const T2 &to_sign)
Serialized script, used inside transaction inputs and outputs.
Generate the signet tx corresponding to the given block.
const CTransaction m_to_sign