You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But if this is a seed node, it is expected to open short-term connection to all addresses it knows in order to retrieve information about other nodes in the network. It also does that to test if peer addresses are valid.
In the same routine, and with the same periodicity, it disconnects to peers from which it is connected by some time:
Activity
cason commentedon Jun 19, 2024
This can be the cause: #486
cason commentedon Jun 19, 2024
But if this is a seed node, it is expected to open short-term connection to all addresses it knows in order to retrieve information about other nodes in the network. It also does that to test if peer addresses are valid.
In the same routine, and with the same periodicity, it disconnects to peers from which it is connected by some time:
cometbft/p2p/pex/pex_reactor.go
Lines 741 to 751 in 67b2987
Where
SeedDisconnectWaitPeriodis of 28 hours, for some reason I don't know.cason commentedon Jun 19, 2024
Anyway, the question here is not what is observed in a snapshot, a single point of measurement, but how it evolves over time.
max_num_inbound_peersis respected by the seed node. Nodes, however, connect to a seed, ask for address, then disconnect.max_num_outbound_peersis not used by seed nodes.faddat commentedon Jun 23, 2024
Just a quick question here, I thought that we had gotten rid of the concept of a seed node?
Or is that still a planned future thing?
cason commentedon Jun 24, 2024
Did you see #309?
cason commentedon Jul 2, 2024
@gaia: what is the expected behavior here? That the number of outgoing connections (
max_num_outbound_peers) is respected by the seed node?gaia commentedon Jul 2, 2024
if a separate seed node app won't be available, yes, that and respecting also
max_num_inbound_peers.cason commentedon Jul 3, 2024
Any evidence it does not respect this one? It should.
melekes commentedon Sep 5, 2024
Hey @gaia, we didn't hear back, so I'm going to close this. Please don't hesitate to reach out if you still have any concerns.