mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-09 21:17:54 -05:00
chore: fix some typos in comments (#6951)
* chore: fix some typos in comments Signed-off-by: StevenMia <flite@foxmail.com> * Apply suggestions from code review fix typo Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com> --------- Signed-off-by: StevenMia <flite@foxmail.com> Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com> Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
This commit is contained in:
@@ -46,7 +46,7 @@ public class IbftController extends BaseBftController {
|
||||
* @param gossiper the gossiper
|
||||
* @param duplicateMessageTracker the duplicate message tracker
|
||||
* @param futureMessageBuffer the future message buffer
|
||||
* @param sychronizerUpdater the sychronizer updater
|
||||
* @param sychronizerUpdater the synchronizer updater
|
||||
*/
|
||||
public IbftController(
|
||||
final Blockchain blockchain,
|
||||
|
||||
@@ -48,7 +48,7 @@ public class QbftController extends BaseBftController {
|
||||
* @param gossiper the gossiper
|
||||
* @param duplicateMessageTracker the duplicate message tracker
|
||||
* @param futureMessageBuffer the future message buffer
|
||||
* @param sychronizerUpdater the sychronizer updater
|
||||
* @param sychronizerUpdater the synchronizer updater
|
||||
* @param bftExtraDataCodec the bft extra data codec
|
||||
*/
|
||||
public QbftController(
|
||||
|
||||
@@ -461,7 +461,7 @@ public class EthPeer implements Comparable<EthPeer> {
|
||||
*
|
||||
* @param protocolName the type of protocol the message is for
|
||||
* @param code the message code
|
||||
* @return a request manager for the received response messsage, or Optional.empty() if this is a
|
||||
* @return a request manager for the received response message, or Optional.empty() if this is a
|
||||
* request message
|
||||
*/
|
||||
private Optional<RequestManager> getRequestManager(final String protocolName, final int code) {
|
||||
|
||||
@@ -128,7 +128,7 @@ public class PeerDiscoveryTestHelper {
|
||||
}
|
||||
|
||||
/**
|
||||
* Starts multiple discovery agents with the provided boostrap peers.
|
||||
* Starts multiple discovery agents with the provided bootstrap peers.
|
||||
*
|
||||
* @param count the number of agents to start
|
||||
* @param bootstrapPeers the list of bootstrap peers
|
||||
|
||||
@@ -300,7 +300,7 @@ public class PrometheusMetricsSystem implements ObservableMetricsSystem {
|
||||
|
||||
/**
|
||||
* Convert to prometheus counter name. Prometheus adds a _total suffix to the name if not present,
|
||||
* so we remember if the original name already has it, to be able to covert back correctly
|
||||
* so we remember if the original name already has it, to be able to convert back correctly
|
||||
*
|
||||
* @param category the category
|
||||
* @param name the name
|
||||
|
||||
Reference in New Issue
Block a user