hyperledger / besu

An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client https://wiki.hyperledger.org/display/besu
https://www.hyperledger.org/projects/besu
Apache License 2.0
1.43k stars 757 forks source link

Bootnodes aren't retried after a node starts #7261

Closed matthew1001 closed 6 days ago

matthew1001 commented 1 week ago

Description

If a permissioned node is configured with one or more bootnodes, it attempts to connect to them when it first starts but if the bootnodes are unavailable at that point, the node never attempts to retry the connection(s). This requires the node to be restarted before it will try connecting to the bootnodes again, and is in contrast to static-nodes which are treated as maintained-peers and retried every 60 seconds automatically.

Acceptance Criteria

Configure a PoA (e.g. QBFT) node A with a bootnode, node B. Before node B is started, start node A

Once node A has started, wait ~ 30 seconds for the initial peering to fail. Start node B, wait 60 seconds and the nodes should end up as peers.