Branch: refs/heads/master
Home: https://github.com/conformal/btcchain
Commit: 933cdf50e8f7539c51e7c9c545fa43a5a87ffdce
https://github.com/conformal/btcchain/commit/933cdf50e8f7539c51e7c9c545fa43a5a87ffdce
Author: Dave Collins <[email protected]>
Date: 2014-06-30 (Mon, 30 Jun 2014)
Changed paths:
M validate.go
Log Message:
-----------
Export constant for the maximum time offset.
This commit creates and exports a new constant, MaxTimeOffsetSeconds,
which is the maximum number of seconds a block timestamp is allowed to be
ahead of the current time.
Previously this value was hard coded into the consensus rule path, however
it is useful better to have it defined as a constant and exported so other
callers can access it.
No consensus rules have been changed with this commit.