HomePhabricator

Prevent block.nTime from decreasing
ef8dfe41d1ebUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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.

Details

Provenance
Mark Friedenbach <mark@friedenbach.org>Authored on May 22 2015, 21:49
deadalnixPushed on May 14 2017, 22:04
Parents
rABCce56f5621a94: Merge pull request #6173
Branches
Unknown
Tags
Unknown

Event Timeline

Mark Friedenbach <mark@friedenbach.org> committed rABCef8dfe41d1eb: Prevent block.nTime from decreasing (authored by Mark Friedenbach <mark@friedenbach.org>).May 27 2015, 21:03