From d2be18dda6a962ddb0fc1c8a174ecbf29cdc17a3 Mon Sep 17 00:00:00 2001 From: Simon Dudley Date: Thu, 2 Nov 2023 15:39:42 +1000 Subject: [PATCH] Fixup config overview Signed-off-by: Simon Dudley --- .../besu/cli/ConfigurationOverviewBuilder.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/besu/src/main/java/org/hyperledger/besu/cli/ConfigurationOverviewBuilder.java b/besu/src/main/java/org/hyperledger/besu/cli/ConfigurationOverviewBuilder.java index 71987a1edcd..35ce0949515 100644 --- a/besu/src/main/java/org/hyperledger/besu/cli/ConfigurationOverviewBuilder.java +++ b/besu/src/main/java/org/hyperledger/besu/cli/ConfigurationOverviewBuilder.java @@ -296,15 +296,13 @@ public String build() { lines.add("Experimental high spec configuration enabled"); } - lines.add("Using " + txPoolImplementation + " transaction pool implementation"); lines.add("Using " + worldStateUpdateMode + " worldstate update mode"); + if (trieLogRetentionThreshold > 0) { - lines.add( - "Experimental trie log pruning enabled with retention threshold: " - + trieLogRetentionThreshold - + " blocks"); + lines.add("Trie log pruning enabled:"); + lines.add(" - retention threshold: " + trieLogRetentionThreshold + " blocks"); if (trieLogPruningLimit != null) { - lines.add("Experimental trie log pruning limit: " + trieLogPruningLimit + " blocks"); + lines.add(" - prune limit: " + trieLogPruningLimit + " blocks"); } }