Why do nodes have a maximum peer count, in other words what could go wrong if each node is connected to all the nodes of the network?

1 Answer 1


Holding the state of a peer and handling its requests consumes resources. Mainly RAM, bandwidth and CPU. Each additional peer has a fixed cost for a node but a decreasing utility.

  • You could additionally mention that due to the limit on listening nodes there is also a limited amount of slots for other nodes to make inbound connections in the first place.
    – Murch
    Nov 27, 2023 at 15:28
  • I initially started writing something along these lines but figured it didn't answer the question which was rather about why is there a limit at all for those listening nodes, if i'm understanding correctly. But i don't mind adding it. Nov 27, 2023 at 15:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.