Skip to content

Commit

Permalink
In enterprise profile use sync-mode=FULL and data-storage-format=FORE…
Browse files Browse the repository at this point in the history
…ST (hyperledger#7186)

Also remove lower casing of profile names to keep CLI values consistent
Signed-off-by: Simon Dudley <[email protected]>
Signed-off-by: George Tebrean <[email protected]>
  • Loading branch information
siladu authored and gtebrean committed Jun 26, 2024
1 parent 6e34d1d commit fdc8815
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down Expand Up @@ -53,6 +51,6 @@ public String getConfigFile() {

@Override
public String toString() {
return StringUtils.capitalize(name().replaceAll("_", " ").toLowerCase(Locale.ROOT));
return StringUtils.capitalize(name().replaceAll("_", " "));
}
}
3 changes: 2 additions & 1 deletion config/src/main/resources/profiles/enterprise-private.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit fdc8815

Please sign in to comment.