Page MenuHomePhabricator

Reset the block template in the constructor
Needs ReviewPublic

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

Details

Reviewers
None
Group Reviewers
Restricted Project
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
Branch
block_assembler_reset_constructor
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32695
Build 64878: Build Diffbuild-diff · build-clang-tidy · build-debug · build-clang · build-without-wallet · lint-circular-dependencies
Build 64877: arc lint + arc unit