WIP: next hard fork #5

Draft
BrannonKing wants to merge 178 commits from WIP-HF-2022 into master
Showing only changes of commit 9ae7b95c85 - Show all commits

View file

@ -843,6 +843,11 @@ mempoolLoop:
// chain with no issues.
block := btcutil.NewBlock(&msgBlock)
block.SetHeight(nextBlockHeight)
if err := g.chain.SetClaimtrieHeader(block, blockUtxos); err != nil {
return nil, err
}
if err := g.chain.CheckConnectBlockTemplate(block); err != nil {
return nil, err
}