Add minimalist staker profile (#6449)

Signed-off-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
pull/6514/head GHA-TESTRUN-1
Gabriel-Trintinalia 10 months ago committed by GitHub
parent b68ee448c4
commit 94c3f60be3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 10
      besu/src/main/java/org/hyperledger/besu/cli/config/ProfileName.java
  2. 4
      config/src/main/resources/profiles/minimalist-staker.toml

@ -14,8 +14,13 @@
*/
package org.hyperledger.besu.cli.config;
import org.apache.commons.lang3.StringUtils;
/** Enum for profile names. Each profile corresponds to a configuration file. */
public enum ProfileName {
/** The 'MINIMALIST_STAKER' profile */
MINIMALIST_STAKER("profiles/minimalist-staker.toml"),
/** The 'DEV' profile. Corresponds to the 'profiles/dev.toml' configuration file. */
DEV("profiles/dev.toml");
@ -38,4 +43,9 @@ public enum ProfileName {
public String getConfigFile() {
return configFile;
}
@Override
public String toString() {
return StringUtils.capitalize(name().replaceAll("_", " ").toLowerCase());
}
}

@ -0,0 +1,4 @@
sync-mode="X_CHECKPOINT"
data-storage-format="BONSAI"
bonsai-historical-block-limit=128
max-peers=25
Loading…
Cancel
Save