In answer to one of my previous questions, Pieter Wuille wrote that the +2h rule
for block acceptance cannot be a consensus rule because it is based on comparing block timestamp with information that is outside the chain (real-world timestamp). Cite:
And since real-world time is necessarily external to the chain, any rule that provides this relation cannot be a consensus rule. It's a network rule, crucial for Bitcoin's security, but it relies on information that is not part of the chain itself.
Does this mean that consensus rules are only those related to data from the chain, and any rule that is in any way connected to information outside the chain (such as comparison, subtraction, addition, or anything else with something from the real world) cannot be part of consensus rules because we can all perceive that 'something outside the chain' differently, even if we are entirely correct/honest?
Do consensus rules have to be such that something is either forever correct or forever incorrect, and not that it can become correct or incorrect over time (for example, a block with a certain timestamp becomes valid at some point)? When I say forever, I do not consider cases when consensus rules change.
A transaction with a locktime value (set to a timestamp; not to block height) that has not yet occurred must not be part of the block. As far as I know and as I have thought so far, this is a consensus rule. What interests me is how this can be a consensus rule when the comparison will be made with real timestamp, which is off-chain information?