Hard coded magic numbers are bad. Preexisting constant:
./chain.h:23:static const int64_t MAX_FUTURE_BLOCK_TIME = 2 * 60 * 60;
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Project - Commits
- rSTAGING8929e651a59d: Replace hardcoded future block time with preexisting constant
rABC8929e651a59d: Replace hardcoded future block time with preexisting constant
make check
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- future
- Lint
Lint Passed Severity Location Code Message Auto-Fix src/init.cpp:1 CFMT Code style violation - Unit
No Test Coverage - Build Status
Buildable 1828 Build 1847: Bitcoin ABC Buildbot (legacy) Build 1846: arc lint + arc unit