[prev in list] [next in list] [prev in thread] [next in thread] 

List:       btcd-commits
Subject:    [conformal/btcchain] d16732: Export constant for the maximum time offset.
From:       Dave Collins <davec () conformal ! com>
Date:       2014-06-30 15:33:47
Message-ID: 53b1835bebf50_79ff84dd3454916 () hookshot-fe2-cp1-prd ! iad ! github ! net ! mail
[Download RAW message or body]


  Branch: refs/heads/master
  Home:   https://github.com/conformal/btcchain
  Commit: d16732b6684a1909df33596286c47d13461139fd
      https://github.com/conformal/btcchain/commit/d16732b6684a1909df33596286c47d13461139fd
  Author: Dave Collins <davec@conformal.com>
  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.




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic