Skip to content

Nodes should maintain healthy mix of inbound/outbound peers #2394

@antiochp

Description

@antiochp

Node running overnight configured with peer_max_count = 100.

  • 1 outbound peer
  • 99 inbound peers

We need a healthy number of outbound peers for Dandelion to function correctly as we choose a relay from our outbound peers.

I'm assuming that given the number of nodes on the network, all creating connections we have an imbalance here -

  • we (a single node) try to create outbound connections
  • many other nodes try to create inbound connections to us

And as connections drop over time (for a variety of reasons) chances are our connection "slots" get grabbed by other nodes connecting to us and not by us connection to other nodes.

So our number of outbound connections grows smaller over time.

Is this because new nodes are coming online over time?

Is this because many nodes are behind NAT and not able to accept inbound connections leading to this imbalance on "open" nodes?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions