From 23aa99df3b9cc52b37bed6b1af1c0fada03acb73 Mon Sep 17 00:00:00 2001 From: Gabriel-Trintinalia Date: Thu, 8 Feb 2024 15:11:23 +1100 Subject: [PATCH] Add enterprise/private profile (#6448) Signed-off-by: Gabriel-Trintinalia --- .../java/org/hyperledger/besu/cli/config/ProfileName.java | 6 +++++- .../src/main/resources/profiles/enterprise-private.toml | 8 ++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 config/src/main/resources/profiles/enterprise-private.toml diff --git a/besu/src/main/java/org/hyperledger/besu/cli/config/ProfileName.java b/besu/src/main/java/org/hyperledger/besu/cli/config/ProfileName.java index 932a266fe9..70b3d83ed8 100644 --- a/besu/src/main/java/org/hyperledger/besu/cli/config/ProfileName.java +++ b/besu/src/main/java/org/hyperledger/besu/cli/config/ProfileName.java @@ -22,7 +22,11 @@ public enum ProfileName { STAKER("profiles/staker.toml"), /** The 'MINIMALIST_STAKER' profile */ MINIMALIST_STAKER("profiles/minimalist-staker.toml"), - /** The 'DEV' profile. Corresponds to the 'profiles/dev.toml' configuration file. */ + /** The 'ENTERPRISE' profile */ + ENTERPRISE("profiles/enterprise-private.toml"), + /** The 'PRIVATE' profile */ + PRIVATE("profiles/enterprise-private.toml"), + /** The 'DEV' profile. */ DEV("profiles/dev.toml"); private final String configFile; diff --git a/config/src/main/resources/profiles/enterprise-private.toml b/config/src/main/resources/profiles/enterprise-private.toml new file mode 100644 index 0000000000..03650e3978 --- /dev/null +++ b/config/src/main/resources/profiles/enterprise-private.toml @@ -0,0 +1,8 @@ +sync-mode="FAST" +sync-min-peers=1 +remote-connections-limit-enabled=false +tx-pool="SEQUENCED" +tx-pool-no-local-priority=true +tx-pool-limit-by-account-percentage=0.15 +rpc-http-max-active-connections=300 +min-gas-price=0 \ No newline at end of file