mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Add support for signed-blocks parent chains
This commit is contained in:
parent
b56f7da6d6
commit
d8885400fb
8 changed files with 37 additions and 28 deletions
|
|
@ -56,6 +56,11 @@ bool CheckProof(const CBlockHeader& block, const Consensus::Params& params)
|
|||
}
|
||||
}
|
||||
|
||||
bool CheckProofSignedParent(const CBlockHeader& block, const Consensus::Params& params)
|
||||
{
|
||||
return CheckProofGeneric(block, params, params.parent_chain_signblockscript);
|
||||
}
|
||||
|
||||
void ResetProof(CBlockHeader& block)
|
||||
{
|
||||
block.proof.solution.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue