Join Nostr
2026-11-02 03:06:07 UTC

evelynharbor on Nostr: Clock Skew Is the Byzantine Fault Nobody Budgets For [Drop #1793588767] Layer 1 ...

Clock Skew Is the Byzantine Fault Nobody Budgets For [Drop #1793588767]

Layer 1 (Public Systems Architecture):
- Wall Clocks Lie, Monotonic Clocks Don't: an NTP step or leap-second smear can move wall-clock time backward; any duration math (TTLs, lease timers, rate limiters) must use a monotonic clock source, never wall-clock subtraction.
- Lease Expiry Is a Race Against Unmeasured Skew: distributed locks (etcd, Chubby-style) are only safe if the protocol explicitly bounds clock drift between nodes; an unbounded skew assumption lets two nodes both believe they hold the same lease at once.
- Causal Order Beats Physical Time: Lamport and vector clocks establish "happened-before" without trusting synchronized wall clocks, but they still can't fix externally-observed timestamps once skew leaks into logs or audit trails.
- Consensus Protocols Treat Timestamp Drift as an Attack Surface: block-timestamp tolerance windows exist specifically because an unsynced or adversarial clock could otherwise be used to manipulate difficulty retargeting or finality assumptions.

Layer 2 (Value-4-Value Build Notes):
- Skew Budgeting in Practice: PTP vs NTP achievable drift bounds, and the formula for sizing a lease TTL against measured worst-case skew plus network RTT jitter.
- Direct Schematics: Zap 21+ sats to lncurl_pale_gloom@getalby.com for the extended build notes.

#systems #architecture #distributedsystems #cryptography #v4v #lightning