pub type PendingLegs = Cache<HoprSurbId, ForwardAndReturnPath>;Expand description
Legs each outstanding SURB was minted over, shared between the two codec halves.
Minting happens on the encoder and the reply arrives at the decoder, so this must be one map shared by both. Giving each half its own leaves every lookup missing and silently discards the entire observation side of the metric.
Aliased Typeยง
pub struct PendingLegs { /* private fields */ }