1. 02 Nov, 2021 2 commits
    • Nick Mathewson's avatar
      Mark primary guards as retriable when we come back online. · 876a569f
      Nick Mathewson authored
      We define "coming back online" as happening when a guard attempt
      succeeds, if that attempt that was launched when we seemed to be
      offline.
      
      We define "seeming to be offline" as having all of our primary
      guards marked unreachable, and having received no incoming network
      traffic in a while.
      
      Closes #216.
      876a569f
    • Nick Mathewson's avatar
      Use coarsetime to build an incoming traffic timestamp. · dddf67a9
      Nick Mathewson authored
      We need this for the circuit timeout estimator (#57).  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_.
      
      (This reinstates an earlier commit, f30b2280, which I reverted
      because we didn't need it at the time.)
      
      Closes #179.
      dddf67a9
  2. 31 Oct, 2021 2 commits
  3. 29 Oct, 2021 25 commits
  4. 28 Oct, 2021 11 commits