Skip to content

Commit 85dcf4c

Browse files
explain the difference between bootnodes and static nodes (#1732)
* explain the difference between bootnodes and static nodes Signed-off-by: Sally MacFarlane <[email protected]> * Apply suggestions from code review Signed-off-by: Alexandra Carrillo <[email protected]> --------- Signed-off-by: Sally MacFarlane <[email protected]> Signed-off-by: Alexandra Carrillo <[email protected]> Co-authored-by: Alexandra Carrillo <[email protected]>
1 parent 3160fa1 commit 85dcf4c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/private-networks/how-to/configure/bootnodes.md

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ In production networks, [configure two or more nodes as bootnodes](#configure-bo
1818

1919
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.
2020

21+
When connecting to bootnodes, Besu attempts to connect to all bootnodes at once, at startup.
22+
When connecting to static nodes, Besu attempts to reconnect periodically, if the connection fails or is lost.
23+
2124
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).
2225

2326
:::

docs/public-networks/how-to/connect/static-nodes.md

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ Besu periodically initiates a connection to any unconnected static node. To miti
1717

1818
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.
1919

20+
When connecting to bootnodes, Besu attempts to connect to all bootnodes at once, at startup.
21+
When connecting to static nodes, Besu attempts to reconnect periodically, if the connection fails or is lost.
22+
2023
For example:
2124
* 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.
2225
* You run a small network and want your nodes to reconnect if disconnected, using static nodes.

0 commit comments

Comments
 (0)