mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-08 23:17:54 -05:00
Merge branch 'main' into zkbesu
This commit is contained in:
@@ -18,6 +18,7 @@ package org.hyperledger.besu.util;
|
||||
public class EndianUtils {
|
||||
// next two methods adopted from:
|
||||
// https://github.com/bcgit/bc-java/blob/master/core/src/main/java/org/bouncycastle/util/Pack.java
|
||||
private EndianUtils() {}
|
||||
|
||||
/**
|
||||
* Long to big endian.
|
||||
|
||||
@@ -25,6 +25,8 @@ import java.util.function.Supplier;
|
||||
/** The Future utils. */
|
||||
public class FutureUtils {
|
||||
|
||||
private FutureUtils() {}
|
||||
|
||||
/**
|
||||
* Returns a new CompletionStage that, when the provided stage completes exceptionally, is
|
||||
* executed with the provided stage's exception as the argument to the supplied function.
|
||||
|
||||
@@ -28,6 +28,8 @@ public class LogUtil {
|
||||
static final String BESU_NAMESPACE = "org.hyperledger.besu";
|
||||
static final int MAX_SUMMARY_DEPTH = 20;
|
||||
|
||||
private LogUtil() {}
|
||||
|
||||
/**
|
||||
* Throttles logging to a given logger.
|
||||
*
|
||||
|
||||
@@ -43,6 +43,8 @@ public class PlatformDetector {
|
||||
private static String _glibc;
|
||||
private static String _jemalloc;
|
||||
|
||||
private PlatformDetector() {}
|
||||
|
||||
/**
|
||||
* Gets OS type.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user