The constant MAX_COINBASE_SCRIPTSIG_SIZE was badly located in
'miner.cpp' and thus moved to 'consensus.h'. Furthermore, the
validation was relying on an inline magic number which is now
replaced by the constant.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Owners Package (Owns No Changed Paths) Restricted Project - Commits
- rSTAGING48cd2fecb4ab: Isolating MAX_COINBASE_SCRIPTSIG_SIZE
rABC48cd2fecb4ab: Isolating MAX_COINBASE_SCRIPTSIG_SIZE
Compile and run automated tests.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- master
- Lint
Lint Passed Severity Location Code Message Auto-Fix src/validation.cpp:1 CFMT Code style violation - Unit
No Test Coverage - Build Status
Buildable 2969 Build 4036: Bitcoin ABC Buildbot (legacy) Build 4035: arc lint + arc unit
Event Timeline
src/validation.cpp | ||
---|---|---|
487 | clang-format should have formatted this. |
Comment Actions
Sorry, I had not figured out the upgrade from clang-format-3.5 to clang-format-4.0. Thanks for your patience!