#include <signet.h>
#include <common/system.h>
#include <consensus/merkle.h>
#include <consensus/params.h>
#include <consensus/validation.h>
#include <core_io.h>
#include <hash.h>
#include <logging.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
#include <script/interpreter.h>
#include <span.h>
#include <streams.h>
#include <uint256.h>
#include <util/strencodings.h>
#include <algorithm>
#include <array>
#include <cstdint>
#include <vector>
Go to the source code of this file.
◆ CheckSignetBlockSolution()
Extract signature and check whether a block has a valid solution.
Definition at line 125 of file signet.cpp.
◆ ComputeModifiedMerkleRoot()
◆ FetchAndClearCommitmentSection()
static bool FetchAndClearCommitmentSection |
( |
const Span< const uint8_t > |
header, |
|
|
CScript & |
witness_commitment, |
|
|
std::vector< uint8_t > & |
result |
|
) |
| |
|
static |
◆ BLOCK_SCRIPT_VERIFY_FLAGS
◆ SIGNET_HEADER
constexpr uint8_t SIGNET_HEADER[4] = {0xec, 0xc7, 0xda, 0xa2} |
|
staticconstexpr |