File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
app/src/main/java/org/hyperledger/besu/cli Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -2494,6 +2494,11 @@ private String generateConfigurationOverview() {
2494
2494
.setSyncMode (syncMode .normalize ())
2495
2495
.setSyncMinPeers (syncMinPeerCount );
2496
2496
2497
+ builder .setParallelTxProcessingEnabled (
2498
+ getDataStorageConfiguration ()
2499
+ .getPathBasedExtraStorageConfiguration ()
2500
+ .getParallelTxProcessingEnabled ());
2501
+
2497
2502
if (jsonRpcConfiguration != null && jsonRpcConfiguration .isEnabled ()) {
2498
2503
builder
2499
2504
.setRpcPort (jsonRpcConfiguration .getPort ())
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ public class ConfigurationOverviewBuilder {
63
63
private Map <String , String > environment ;
64
64
private BesuPluginContextImpl besuPluginContext ;
65
65
private boolean isHistoryExpiryPruneEnabled = false ;
66
+ private boolean isParallelTxProcessingEnabled = false ;
66
67
private RocksDBCLIOptions .BlobDBSettings blobDBSettings ;
67
68
68
69
/**
@@ -341,6 +342,18 @@ public ConfigurationOverviewBuilder setBlobDBSettings(
341
342
return this ;
342
343
}
343
344
345
+ /**
346
+ * Sets the parallel transaction processing enabled.
347
+ *
348
+ * @param isParallelTxProcessingEnabled parallel transaction processing enabled
349
+ * @return the builder
350
+ */
351
+ public ConfigurationOverviewBuilder setParallelTxProcessingEnabled (
352
+ final boolean isParallelTxProcessingEnabled ) {
353
+ this .isParallelTxProcessingEnabled = isParallelTxProcessingEnabled ;
354
+ return this ;
355
+ }
356
+
344
357
/**
345
358
* Build configuration overview.
346
359
*
@@ -405,6 +418,12 @@ public String build() {
405
418
406
419
lines .add ("Using " + worldStateUpdateMode + " worldstate update mode" );
407
420
421
+ if (isParallelTxProcessingEnabled ) {
422
+ lines .add ("Parallel transaction processing enabled" );
423
+ } else {
424
+ lines .add ("Parallel transaction processing disabled" );
425
+ }
426
+
408
427
if (isLimitTrieLogsEnabled ) {
409
428
final StringBuilder trieLogPruningString = new StringBuilder ();
410
429
trieLogPruningString
You can’t perform that action at this time.
0 commit comments