News for hackers. Stuff that matters.
Re:Lightning on Stellar: Technical Spec and Roadmap by amenod on Tuesday March 20, 2018 @04:18PM (#16632163)
So how does the system know what time it is? Host time is not reliable. Genuinly curious.

This is the reason why Ethereum contract usually set start time, end time and similar in block numbers. Block number is reliable while timestamp is just a local time of the miner that mined the transaction in which the contract call was included.

Re:Lightning on Stellar: Technical Spec and Roadmap by TD-Linux on Tuesday March 20, 2018 @04:45PM (#16632434)
Timestamps in the block header. These timestamps are used to regulate the proof of work to maintain a block interval, so in the end both measures have the same time accuracy.