diff options
| author | Mark Friedenbach <[email protected]> | 2015-05-22 14:49:50 -0700 |
|---|---|---|
| committer | Mark Friedenbach <[email protected]> | 2015-05-27 14:03:11 -0700 |
| commit | ef8dfe41d1eba0de6d6554e25e658169f97313b5 (patch) | |
| tree | fb269c424ccf2fe715c639df712dba7ae1cf34dc /src/rest.cpp | |
| parent | Merge pull request #6173 (diff) | |
| download | discoin-ef8dfe41d1eba0de6d6554e25e658169f97313b5.tar.xz discoin-ef8dfe41d1eba0de6d6554e25e658169f97313b5.zip | |
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/rest.cpp')
0 files changed, 0 insertions, 0 deletions