Page MenuHomePhabricator

Reset the block template in the constructor
ClosedPublic

Authored by Fabien on Mar 12 2025, 20:38.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC65cd0d3d2796: Reset the block template in the constructor
Summary

This initalize the block template with the reserved coinbase size when constructed. There is no change in behavior because resetBlock() is already called in the callsites, but it makes the code easier to reason about.

Depends on D17791.

Test Plan
ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable