Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

explain the difference between bootnodes and static nodes #1732

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/private-networks/how-to/configure/bootnodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ In production networks, [configure two or more nodes as bootnodes](#configure-bo

Bootnodes and static nodes are parallel methods for finding peers. Depending on your use case, you can use only bootnodes, only static nodes, or both bootnodes and static nodes.

Besu attempts connection to all bootnodes once, at startup. Static nodes are different in that reconnection is attempted periodically if the connection fails or is lost.

To find peers, configure one or more bootnodes. To configure a specific set of peer connections, use [static nodes](../../../public-networks/how-to/connect/static-nodes.md).

:::
Expand Down
2 changes: 2 additions & 0 deletions docs/public-networks/how-to/connect/static-nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Besu periodically initiates a connection to any unconnected static node. To miti

Bootnodes and static nodes are both methods for finding peers. Depending on your use case, you can use only bootnodes, only static nodes, or both bootnodes and static nodes.

Besu attempts connection to all bootnodes once, at startup. Static nodes are different in that reconnection is attempted periodically if the connection fails or is lost.

For example:
* You run multiple nodes on Mainnet, using bootnodes for discovery, but want to ensure your nodes are always connected to each other, using static nodes.
* You run a small network and want your nodes to reconnect if disconnected, using static nodes.
Expand Down
Loading