aboutsummaryrefslogtreecommitdiff
path: root/src/chain.h
diff options
context:
space:
mode:
authorMark Friedenbach <mark@friedenbach.org>2015-05-22 14:49:50 -0700
committerMark Friedenbach <mark@friedenbach.org>2015-05-27 14:03:11 -0700
commitef8dfe41d1eba0de6d6554e25e658169f97313b5 (patch)
treefb269c424ccf2fe715c639df712dba7ae1cf34dc /src/chain.h
parentce56f5621a94dcc2159ebe57e43da727eab18e6c (diff)
Prevent block.nTime from decreasing
Under some circumstances it is possible for there to be a significant, discontinuous jump in a node's clock value. On mining nodes, this can result in block templates which are no longer valid due to time-based nLockTime constraints. UpdateTime() is modified so that it will never decrease a block's nLockTime, thereby preventing such invalidations.
Diffstat (limited to 'src/chain.h')
0 files changed, 0 insertions, 0 deletions