We used to prune old addresses from the NodeState. This functionality is not yet available on the new EndpointStateActor. There are two TODO comments with commented-out constants around this:
- MAX_INACTIVE_DIRECT_ADDRESSES
- LAST_ALIVE_PRUNE_DURATION
We will not be able to exactly replicate this, but we'll have to figure out some kind of method to decide on how to keep EndpointStateActor::paths bounded.