diff options
author | Mark Friedenbach <mark@friedenbach.org> | 2015-05-22 14:49:50 -0700 |
---|---|---|
committer | Mark Friedenbach <mark@friedenbach.org> | 2015-05-27 14:03:11 -0700 |
commit | ef8dfe41d1eba0de6d6554e25e658169f97313b5 (patch) | |
tree | fb269c424ccf2fe715c639df712dba7ae1cf34dc /src/net.h | |
parent | ce56f5621a94dcc2159ebe57e43da727eab18e6c (diff) | |
download | bitcoin-ef8dfe41d1eba0de6d6554e25e658169f97313b5.tar.xz |
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/net.h')
0 files changed, 0 insertions, 0 deletions