From 2a5cb6106528db3198b5318357be2b88603e7b41 Mon Sep 17 00:00:00 2001 From: Matt Whitehead Date: Thu, 30 Nov 2023 20:26:32 +0000 Subject: [PATCH 1/2] Fix minor typo (#1465) Signed-off-by: Matthew Whitehead Co-authored-by: Alexandra Tran Carrillo <12214231+alexandratran@users.noreply.github.com> --- docs/public-networks/how-to/use-besu-api/authenticate.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/public-networks/how-to/use-besu-api/authenticate.md b/docs/public-networks/how-to/use-besu-api/authenticate.md index 490203cd708..20be8737287 100644 --- a/docs/public-networks/how-to/use-besu-api/authenticate.md +++ b/docs/public-networks/how-to/use-besu-api/authenticate.md @@ -186,7 +186,7 @@ The private key must be kept secret. Never share private keys publicly or on a W Always keep your private keys safe -- ideally using [hardware](https://connect2id.com/products/nimbus-jose-jwt/examples/pkcs11) or [vault](https://www.vaultproject.io/docs/secrets/identity/identity-token) -- and define a strong security policy and [best practices](https://auth0.com/docs/best-practices/token-best-practices). -Compromised keys can provide attackers access to you nodes RPC-API. +Compromised keys can provide attackers access to your node's RPC-API. ::: From aa9b5d7b70ccd3705ee0ed7ae06ddc9a21e39bae Mon Sep 17 00:00:00 2001 From: MadelineMurray <43356962+MadelineMurray@users.noreply.github.com> Date: Fri, 1 Dec 2023 06:58:31 +1000 Subject: [PATCH 2/2] Adding more info around static nodes (#1463) * Adding more info around static nodes Signed-off-by: madelinemurray * Apply suggestions from code review Co-authored-by: Sally MacFarlane Signed-off-by: Alexandra Tran Carrillo <12214231+alexandratran@users.noreply.github.com> * Update docs/public-networks/how-to/connect/static-nodes.md Signed-off-by: Alexandra Tran Carrillo <12214231+alexandratran@users.noreply.github.com> --------- Signed-off-by: madelinemurray Signed-off-by: Alexandra Tran Carrillo <12214231+alexandratran@users.noreply.github.com> Co-authored-by: Alexandra Tran Carrillo <12214231+alexandratran@users.noreply.github.com> Co-authored-by: Sally MacFarlane --- docs/public-networks/how-to/connect/static-nodes.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/public-networks/how-to/connect/static-nodes.md b/docs/public-networks/how-to/connect/static-nodes.md index aa0eb09641f..0c131a7f2f4 100644 --- a/docs/public-networks/how-to/connect/static-nodes.md +++ b/docs/public-networks/how-to/connect/static-nodes.md @@ -11,11 +11,15 @@ tags: Static nodes are a configured set of trusted nodes. Static nodes are exempt from [maximum peer](manage-peers.md#limit-peers) and [remote connection](manage-peers.md#limit-remote-connections) limits. -Besu attempts to maintain connections with static nodes by periodically initiating a connection to any unconnected static node. +Besu periodically initiates a connection to any unconnected static node. To mitigate low peer count issues in small networks, we recommend using static nodes, or static nodes and bootnodes. :::tip -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. For example, you run multiple nodes on Mainnet (discovery using bootnodes), but want to ensure your nodes are always connected (using static nodes). +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. + +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. To find peers, configure one or more [bootnodes](../../../private-networks/how-to/configure/bootnodes.md). To configure a specific set of peer connections, use static nodes.