Page MenuHomePhabricator

Replace hardcoded future block time with preexisting constant
ClosedPublic

Authored by jasonbcox on Feb 11 2018, 19:17.

Details

Summary

Hard coded magic numbers are bad. Preexisting constant:
./chain.h:23:static const int64_t MAX_FUTURE_BLOCK_TIME = 2 * 60 * 60;

Test Plan

make check

Diff Detail

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