In enterprise profile use sync-mode=FULL and data-storage-format=FOREST (#7186)

Also remove lower casing of profile names to keep CLI values consistent
Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
pull/7193/head
Simon Dudley 6 months ago committed by GitHub
parent 2d59f4dd7e
commit af663b064b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      CHANGELOG.md
  2. 4
      besu/src/main/java/org/hyperledger/besu/cli/config/ProfileName.java
  3. 3
      config/src/main/resources/profiles/enterprise-private.toml

@ -4,6 +4,8 @@
### Breaking Changes
- Java 21 has been enforced as minimum version to build and run Besu.
- In profile=ENTERPRISE, use sync-mode=FULL (instead of FAST) and data-storage-format=FOREST (instead of BONSAI) [#7186](https://github.com/hyperledger/besu/pull/7186)
- If this breaks your node, you can reset sync-mode=FAST and data-storage-format=BONSAI
### Additions and Improvements
- Add two counters to DefaultBlockchain in order to be able to calculate TPS and Mgas/s [#7105](https://github.com/hyperledger/besu/pull/7105)

@ -14,8 +14,6 @@
*/
package org.hyperledger.besu.cli.config;
import java.util.Locale;
import org.apache.commons.lang3.StringUtils;
/** Enum for profile names. Each profile corresponds to a configuration file. */
@ -53,6 +51,6 @@ public enum ProfileName {
@Override
public String toString() {
return StringUtils.capitalize(name().replaceAll("_", " ").toLowerCase(Locale.ROOT));
return StringUtils.capitalize(name().replaceAll("_", " "));
}
}

@ -1,4 +1,5 @@
sync-mode="FAST"
sync-mode="FULL"
data-storage-format="FOREST"
sync-min-peers=1
remote-connections-limit-enabled=false
tx-pool="SEQUENCED"

Loading…
Cancel
Save