Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 264

Questions related to the timestamp value of a block, or the use of Ethereum in timestamping.

3 votes
Accepted

How does Ethereum avoid inaccurate timestamps in blocks?

We can't consider the timestamp exact at all, but the information you get out of the timestamp is not super interesting. "When exactly was this block mined?" …
Roland Kofler's user avatar
27 votes
Accepted

Is block.timestamp safe for longer time periods?

Miners can't cheat that much to change the timestamp over days. Blocktime is adjusted to be constant within certain error margins, and timestamps is guaranteed to be rejected if they are excessive. …
Roland Kofler's user avatar
6 votes

How do Ethereum mining nodes maintain a time consistent with the network?

The yellow paper states: timestamp: A scalar value equal to the reasonable output of Unix’s time() at this block’s inception; formally Hs. … Check that the timestamp of the block is greater than that of the referenced previous block and less than 15 minutes into the future …
Roland Kofler's user avatar
9 votes
Accepted

Can a child block have an earlier timestamp than the parent block?

block_timestamp CANNOT be before parent_timestamp This is enforced by the protocol, see yellow paper: Hs is the timestamp of block H and must fulfil the relation: (48) Hs > P(H)Hs Also in my …
Roland Kofler's user avatar