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
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
src/validation.cpp | ||
---|---|---|
487 ↗ | (On Diff #4437) | 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!