HomePhabricator

Replace hardcoded future block time with preexisting constant

Description

Replace hardcoded future block time with preexisting constant

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

Reviewers: deadalnix, #bitcoin_abc

Reviewed By: deadalnix, #bitcoin_abc

Subscribers: teamcity

Differential Revision: https://reviews.bitcoinabc.org/D1081

Details

Provenance
jasonbcoxAuthored on Feb 11 2018, 19:13
matra774Pushed on Feb 18 2018, 10:24
Reviewer
Restricted Project
Differential Revision
D1081: Replace hardcoded future block time with preexisting constant
Parents
rSTAGING10ec91661ec5: Make CTransaction construction from CMutableTransaction explicit
Branches
Unknown
Tags
Unknown