Closed
Description
I would like to suggest two p2p feature inhancement.
- wildcard_peer_ids
- If id of a peer is in this list, the peer can try peering my node even if max_num_inbound(outbound)_peers is reached.
- benefit : nodes can allow peering with most trusted list of peers(wildcard peers) even if maximum is reached by other peers.
- persistent_peers_dialing_max_period(in seconds)
- When exponential backoff, the dialing period will not increase more than this period
- benefit : Tendermint will continuesly try dialing all persistent peers indefinitely so that even though it disconnected for a while, it tries to reconnect.
Please share opinions(agreement, disagreement, additional feature related to these features, possible vulnerabilities, etc). Also if anyone wants to add other improvement on p2p peer management, we can add those to our job list.(such as blacklist_peer_ids)
These two ideas were one of the most pain-in-the-ass problems for real validator operation experience. It will greatly improve the stability of connection among nodes.
Based on feedbacks from community, we start hacking on these two issues. We will ask a grant of 2k atom from community fund by governance proposal "after" we PR this. We expect PR to be ready in October.