Skip to content

Use coarsetime to build an incoming traffic timestamp.

Nick Mathewson requested to merge nickm/arti:timestamp into main

We need this for the circuit timeout estimator (#57 (closed)). It needs to know "how recently have we got some incoming traffic", so that it can tell whether a circuit has truly timed out, or whether the entire network is down.

I'm implementing this with coarsetime, since we need to update these in response to every single incoming cell, and we need the timestamp operation to be fast.

Merge request reports