Skip to content

Commit a62ebab

Browse files
m4sterbunnyjoaniekubejoshuafernandesAlexandra Tranalexandratran
authored
fixes 1611: adds page for boilerplate config and clarifies profiles (#1644)
* fixes 1611: adds page for boilerplate config and clarifies profiles Signed-off-by: m4sterbunny <[email protected]> * proofs 1611 Signed-off-by: m4sterbunny <[email protected]> * proofs 1611: instruction to caps vars Signed-off-by: m4sterbunny <[email protected]> * Update sync and storage Add sync and storage Signed-off-by: Joan E <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * update to include storage Signed-off-by: Joan E <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * add links Signed-off-by: Joan E <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * adding in some details re the peering process (#1643) * adding in some details re the peering process Signed-off-by: Joshua Fernandes <[email protected]> * edit p2p discovery process and tutorials Signed-off-by: Alexandra Tran <[email protected]> * Update docs/public-networks/how-to/connect/manage-peers.md Signed-off-by: Alexandra Carrillo <[email protected]> --------- Signed-off-by: Joshua Fernandes <[email protected]> Signed-off-by: Alexandra Tran <[email protected]> Signed-off-by: Alexandra Carrillo <[email protected]> Co-authored-by: Alexandra Tran <[email protected]> Co-authored-by: Alexandra Carrillo <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * remove note Signed-off-by: Joan E <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * Update docs/public-networks/how-to/use-configuration-file/defaults.md proof Co-authored-by: Simon Dudley <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * improves GH links Signed-off-by: m4sterbunny <[email protected]> * Update docs/public-networks/how-to/use-configuration-file/defaults.md proof Co-authored-by: Simon Dudley <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * 6612: Remove remaining references to X_SNAP and X_CHECKPOINT from unv… (#1651) * 6612: Remove remaining references to X_SNAP and X_CHECKPOINT from unversioned docs Signed-off-by: Matilda Clerke <[email protected]> * Update docs/public-networks/how-to/bonsai-limit-trie-logs.md Co-authored-by: Sally MacFarlane <[email protected]> Signed-off-by: Joan E <[email protected]> --------- Signed-off-by: Matilda Clerke <[email protected]> Signed-off-by: Joan E <[email protected]> Co-authored-by: Joan E <[email protected]> Co-authored-by: Sally MacFarlane <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * Add Lukso to command line table (#1647) * Add Lukso to command line table Signed-off-by: Joan E <[email protected]> * Add links to table to help users access aux docs Signed-off-by: Joan E <[email protected]> --------- Signed-off-by: Joan E <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * Version update automation (#1654) Deleted the workflow added incorrectly to the .github folder. Added new workflow file to perform the version update steps when a new release is created Signed-off-by: Chaminda Divitotawela <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * Allow version update with workflow dispatch (#1655) * Allow version update with workflow dispatch Was looking to trigger the version update workflow by re-creating the release 24.7.0. However when a release it re-created from the same commit which has been created a release, it does not seems to trigger the even type released. Added workflow_dispatch also to the same workflow so that users can manually trigger the version update if necessary. Signed-off-by: Chaminda Divitotawela <[email protected]> * Actionlint fixes Signed-off-by: Chaminda Divitotawela <[email protected]> --------- Signed-off-by: Chaminda Divitotawela <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * Update version 24.7.0 (#1657) Signed-off-by: Besu Bot <[email protected]> Co-authored-by: Besu Bot <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * Update table to include SNAP (#1658) * Update table to include SNAP Signed-off-by: Joan E <[email protected]> * Update docs/public-networks/reference/cli/options.md Co-authored-by: Sally MacFarlane <[email protected]> Signed-off-by: Joan E <[email protected]> --------- Signed-off-by: Joan E <[email protected]> Co-authored-by: Sally MacFarlane <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * adds default sync Signed-off-by: m4sterbunny <[email protected]> * fixes: copy/pasta Signed-off-by: m4sterbunny <[email protected]> * adds defaults to sidebar Signed-off-by: m4sterbunny <[email protected]> * update relative link Signed-off-by: Joan E <[email protected]> * renames index to accomodate defaults also and updates links/adds redirects Signed-off-by: m4sterbunny <[email protected]> * renames index to accomodate defaults also and updates links/adds redirects Signed-off-by: m4sterbunny <[email protected]> * responds to link issues https://github.com/hyperledger/besu-docs/actions/runs/10095001531/job/27914102000\?pr\=1644 Signed-off-by: m4sterbunny <[email protected]> * responds to link issues https://github.com/hyperledger/besu-docs/actions/runs/10095001531/job/27914102000\?pr\=1644 Signed-off-by: m4sterbunny <[email protected]> * responds to link issues https://github.com/hyperledger/besu-docs/actions/runs/10095001531/job/27914102000\?pr\=1644 Signed-off-by: m4sterbunny <[email protected]> * responds to link issues https://github.com/hyperledger/besu-docs/actions/runs/10095001531/job/27914102000\?pr\=1644 Signed-off-by: m4sterbunny <[email protected]> * responds to link issues https://github.com/hyperledger/besu-docs/actions/runs/10095001531/job/27914102000\?pr\=1644 Signed-off-by: m4sterbunny <[email protected]> * temp fix for redirect Signed-off-by: m4sterbunny <[email protected]> * Update docs/public-networks/how-to/configure-besu/index.md proof Co-authored-by: Simon Dudley <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * Update profile.md adds tags to new page Signed-off-by: m4sterbunny <[email protected]> * check link Signed-off-by: Joan E <[email protected]> * add back link Signed-off-by: Joan E <[email protected]> * Update docs/public-networks/how-to/configure-besu/index.md proof Co-authored-by: Joan E <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * Update docs/public-networks/how-to/configure-besu/index.md proof Co-authored-by: Alexandra Carrillo <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * Update docs/public-networks/how-to/configure-besu/index.md reframing Co-authored-by: Alexandra Carrillo <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * Update docs/public-networks/how-to/configure-besu/index.md proof Co-authored-by: Alexandra Carrillo <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * Update docs/public-networks/how-to/configure-besu/index.md proof Co-authored-by: Alexandra Carrillo <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * Update docs/public-networks/how-to/configure-besu/index.md proof Co-authored-by: Alexandra Carrillo <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * Update docs/public-networks/how-to/configure-besu/profile.md proof Co-authored-by: Alexandra Carrillo <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * Update docs/public-networks/how-to/configure-besu/profile.md proof Co-authored-by: Alexandra Carrillo <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * Update docs/public-networks/how-to/configure-besu/profile.md proof Co-authored-by: Alexandra Carrillo <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * Update docs/public-networks/how-to/configure-besu/profile.md proof Co-authored-by: Alexandra Carrillo <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * Update docs/public-networks/how-to/configure-besu/profile.md proof Co-authored-by: Alexandra Carrillo <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * Update docs/public-networks/how-to/configure-besu/index.md proof Co-authored-by: Alexandra Carrillo <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * Update docs/public-networks/how-to/configure-besu/index.md proof Co-authored-by: Alexandra Carrillo <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * Update docs/public-networks/how-to/configure-besu/index.md proof Co-authored-by: Alexandra Carrillo <[email protected]> Signed-off-by: m4sterbunny <[email protected]> * aligns index with additional function custom profiles Signed-off-by: m4sterbunny <[email protected]> --------- Signed-off-by: m4sterbunny <[email protected]> Signed-off-by: Joan E <[email protected]> Signed-off-by: Joshua Fernandes <[email protected]> Signed-off-by: Alexandra Tran <[email protected]> Signed-off-by: Alexandra Carrillo <[email protected]> Signed-off-by: Matilda Clerke <[email protected]> Signed-off-by: Chaminda Divitotawela <[email protected]> Signed-off-by: Besu Bot <[email protected]> Co-authored-by: Joan E <[email protected]> Co-authored-by: Joshua Fernandes <[email protected]> Co-authored-by: Alexandra Tran <[email protected]> Co-authored-by: Alexandra Carrillo <[email protected]> Co-authored-by: Simon Dudley <[email protected]> Co-authored-by: Matilda-Clerke <[email protected]> Co-authored-by: Sally MacFarlane <[email protected]> Co-authored-by: Chaminda Divitotawela <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Besu Bot <[email protected]>
1 parent 17e7221 commit a62ebab

File tree

17 files changed

+235
-232
lines changed

17 files changed

+235
-232
lines changed

docs/private-networks/get-started/start-node.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ To run a node that mines blocks at a rate suitable for testing purposes:
6666
besu --network=dev --miner-enabled --miner-coinbase=0xfe3b557e8fb62b89f4916b721be55ceb828dbd73 --rpc-http-cors-origins="all" --host-allowlist="*" --rpc-ws-enabled --rpc-http-enabled --data-path=/tmp/tmpDatdir
6767
```
6868

69-
You can also use the following [configuration file](../../public-networks/how-to/use-configuration-file/index.md) on the command line to start a node with the same options as above:
69+
You can also use the following [configuration file](../../public-networks/how-to/configure-besu/index.md) on the command line to start a node with the same options as above:
7070

7171
```toml
7272
network="dev"
@@ -107,7 +107,7 @@ You might need to set [`--tx-pool-limit-by-account-percentage`](../../public-net
107107

108108
:::note Sync nodes for BFT
109109

110-
If you're running a node on a [QBFT](../how-to/configure/consensus/qbft.md) or [IBFT 2.0](../how-to/configure/consensus/ibft.md) network, your node must use [fast sync](../../public-networks/get-started/connect/sync-node#fast-synchronization) or [full sync](../../public-networks/get-started/connect/sync-node#run-an-archive-node).
110+
If you're running a node on a [QBFT](../how-to/configure/consensus/qbft.md) or [IBFT 2.0](../how-to/configure/consensus/ibft.md) network, your node must use [fast sync](../../public-networks/get-started/connect/sync-node.md#fast-synchronization) or [full sync](../../public-networks/get-started/connect/sync-node.md#run-an-archive-node).
111111

112112
Full sync is set by default.
113113

docs/private-networks/how-to/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This section provides instructional content for private network features.
1111
The following features are shared with [public networks](../../public-networks/index.md) and the content can be found in the public networks section:
1212

1313
- Configure and manage:
14-
- [Use a configuration file](../../public-networks/how-to/use-configuration-file/index.md)
14+
- [Use a configuration file](../../public-networks/how-to/configure-besu/index.md)
1515
- [Configure high availability](../../public-networks/how-to/configure-ha/index.md)
1616
- [Configure mining](../../public-networks/how-to/use-pow/mining.md)
1717
- [Use the Besu API](../../public-networks/how-to/use-besu-api/index.md):

docs/private-networks/reference/cli/options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ You can specify Besu options:
3737

3838
For example, set `--miner-coinbase` using the `BESU_MINER_COINBASE` environment variable.
3939

40-
- In a [configuration file](../../../public-networks/how-to/use-configuration-file/index.md).
40+
- In a [configuration file](../../../public-networks/how-to/configure-besu/index.md).
4141

4242
If you specify an option in more than one place, the order of priority is command line, environment variable, configuration file.
4343

docs/public-networks/concepts/genesis-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The genesis file specifies the [network-wide settings](../reference/genesis-item
1919

2020
:::note
2121

22-
You can specify node-level settings on the command line or in the [node configuration file](../how-to/use-configuration-file/index.md).
22+
You can specify node-level settings on the command line or in the [node configuration file](../how-to/configure-besu/index.md).
2323

2424
:::
2525

docs/public-networks/concepts/transactions/pool.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ consistent and transparent transaction order, which is often useful in private b
6161

6262
You can select the sequenced transaction pool by setting [`--tx-pool=sequenced`](../../reference/cli/options.md#tx-pool).
6363

64-
If you set the enterprise configuration profile using [`--profile=enterprise`](../../how-to/use-configuration-file/profile.md#enterpriseprivate-profile) or [`--profile=private`](../../how-to/use-configuration-file/profile.md#enterpriseprivate-profile), the `sequenced` transaction pool is set by default.
64+
If you set the enterprise configuration profile using [`--profile=enterprise`](../../how-to/configure-besu/profile.md#enterpriseprivate-profile) or [`--profile=private`](../../how-to/configure-besu/profile.md#enterpriseprivate-profile), the `sequenced` transaction pool is set by default.
6565

6666
The sequenced transaction pool suits enterprise environments because it functions like a first-in-first-out (FIFO) queue and processes transactions in the order of submission, regardless of the sender.
6767
When the pool reaches capacity, the newer transactions are evicted first, reducing the likelihood of a nonce gap and avoiding the need to resubmit older transactions.

docs/public-networks/get-started/connect/mainnet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Save the password you use to generate each key pair in a `.txt` file. You should
5454

5555
### 3. Start Besu
5656

57-
Run the following command or specify the options in a [configuration file](../../how-to/use-configuration-file/index.md):
57+
Run the following command or specify the options in a [configuration file](../../how-to/configure-besu/index.md):
5858

5959
```bash
6060
besu \

docs/public-networks/get-started/connect/testnet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ If you're also running the consensus client as a validator client, create a test
4646

4747
:::note
4848

49-
If you can't get ETH using the faucet, you can ask for help on the [EthStaker Discord](https://discord.io/ethstaker).
49+
If you can't get testnet ETH using the faucet, you can ask for help on the [EthStaker Discord](https://discord.gg/ethstaker).
5050

5151
:::
5252

@@ -60,7 +60,7 @@ Save the password you use to generate each key pair in a `.txt` file. You should
6060

6161
### 3. Start Besu
6262

63-
Run the following command or specify the options in a [configuration file](../../how-to/use-configuration-file/index.md):
63+
Run the following command or specify the options in a [configuration file](../../how-to/configure-besu/index.md):
6464

6565
<Tabs>
6666

docs/public-networks/get-started/start-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ To run a node that mines blocks at a rate suitable for testing purposes:
5757
besu --network=dev --miner-enabled --miner-coinbase=0xfe3b557e8fb62b89f4916b721be55ceb828dbd73 --rpc-http-cors-origins="all" --host-allowlist="*" --rpc-ws-enabled --rpc-http-enabled --data-path=/tmp/tmpDatdir
5858
```
5959

60-
You can also use the following [configuration file](../how-to/use-configuration-file/index.md) on the command line to start a node with the same options as above:
60+
You can also use the following [configuration file](../how-to/configure-besu/index.md) on the command line to start a node with the same options as above:
6161

6262
```toml
6363
network="dev"
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
---
2+
title: Configure Besu
3+
description: Specify options in the Besu configuration file.
4+
sidebar_position: 1
5+
tags:
6+
- public networks
7+
- private networks
8+
---
9+
10+
# Configure Besu
11+
12+
Besu comes with a [default configuration](#default-configuration) that is suitable for staking.
13+
14+
You can override the default values by specifying [configuration options](../../reference/cli/options.md) on the command line, as environment variables, or in a [TOML configuration file](#toml-configuration-file) that can be reused across node startups.
15+
16+
You can also use a [pre-configured profile](profile.md) for some common use cases or create and apply a [custom profile](profile.md#load-external-profiles).
17+
18+
## Configuration order of precedence
19+
20+
For options specified in multiple places, the order of precedence is as follows:
21+
22+
1. Command line
23+
2. Environment variable
24+
3. Configuration file specified by `--config-file`
25+
4. [Pre-configured profile](profile.md) specified by `--profile`
26+
5. Default values (used if no other configuration source is available)
27+
28+
For example, if you specify a `config.toml` configuration file and `staker` profile, and an option
29+
is not found in the environment variables, Besu looks for it in `config.toml`.
30+
If the option is not found in `config.toml`, Besu looks for it in `staker.toml`.
31+
If the option is not found in `staker.toml`, Besu uses the default value for that option.
32+
33+
## TOML configuration file
34+
35+
:::note
36+
The configuration file is used for node-level settings. You can specify network-wide settings in the [genesis file](../../concepts/genesis-file.md).
37+
:::
38+
39+
Specify the configuration file using the [`--config-file`](../../reference/cli/options.md#config-file) option.
40+
The configuration file must be a valid TOML file composed of key/value pairs. Each key is the same as the corresponding command line option name without the leading dashes (`--`).
41+
42+
Values must conform to TOML specifications for string, numbers, arrays, and booleans. Specific differences between the command line and the TOML file format are:
43+
44+
- Comma-separated lists on the command line are string arrays in the TOML file.
45+
- Enclose file paths, hexadecimal numbers, URLs, and &lt;host:port> values in quotes.
46+
47+
Table headings are ignored in TOML files. If you specify a valid Besu option under a table heading in the configuration file, Besu ignores the table heading and reads the option in the same way it does for options not under table headings.
48+
49+
:::tip
50+
51+
The [command line reference](../../reference/cli/options.md) includes configuration file examples for each option.
52+
53+
:::
54+
55+
```toml title="Sample TOML configuration file"
56+
# Valid TOML config file
57+
data-path="~/besudata" # Path
58+
59+
# Network
60+
bootnodes=["enode://001@123:4567", "enode://002@123:4567", "enode://003@123:4567"]
61+
62+
p2p-host="1.2.3.4"
63+
p2p-port=1234
64+
max-peers=42
65+
66+
rpc-http-host="5.6.7.8"
67+
rpc-http-port=5678
68+
69+
rpc-ws-host="9.10.11.12"
70+
rpc-ws-port=9101
71+
72+
# Chain
73+
genesis-file="~/genesis.json" # Path to the custom genesis file
74+
75+
# Mining
76+
miner-enabled=true
77+
miner-coinbase="0xfe3b557e8fb62b89f4916b721be55ceb828dbd73"
78+
```
79+
80+
```bash title="Starting Besu with a configuration file"
81+
besu --config-file=/home/me/me_node/config.toml
82+
```
83+
## Default configuration
84+
85+
The following tables describe important default values of Besu's configuration.
86+
When using the default configuration, Besu is optimized for staking.
87+
You can extend these defaults using a [profile](profile.md).
88+
89+
For example, extending the default configuration using the [staker profile](profile.md#staker-profile) directs Besu to use Mainnet, creating a staking-optimized node ready to run with a [validator and consensus client](../../concepts/node-clients.md#consensus-clients).
90+
91+
### Peering
92+
93+
|Configuration option|Default|Description|
94+
|---------------------------|--------------------|------------------------------------------|
95+
|[`discovery-enabled`](../../reference/cli/options.md#discovery-enabled)|`true`|Besu assumes the node will automatically discover other Ethereum nodes using P2P.|
96+
|[`p2p-enabled`](../../reference/cli/options.md#p2p-enabled)|`true`|Besu assumes the node will connect P2P.|
97+
|[`engine-rpc-enabled`](../../reference/cli/options.md#engine-rpc-enabled)|`true`|Besu assumes the Engine API will be required to communicate with the consensus layer.|
98+
99+
### Storage
100+
101+
|Configuration option|Default|Description|
102+
|---------------------------|--------------------|------------------------------------------|
103+
|[`data-storage-format`](../../reference/cli/options.md#data-storage-format)|`BONSAI`|Besu uses [Bonsai Tries](../../concepts/data-storage-formats.md#bonsai-tries), the most space-efficient data storage format.|
104+
105+
### Sync
106+
107+
|Configuration option|Default|Description|
108+
|---------------------------|--------------------|------------------------------------------|
109+
|[`sync-mode`](../../reference/cli/options.md#sync-mode)|`SNAP`|Besu syncs using [snap sync](../../get-started/connect/sync-node.md#snap-synchronization), the most time-efficient sync method.|
110+
111+
:::note
112+
You can see all default configuration values in the [configuration options reference](../../reference/cli/options.md).
113+
:::
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
---
2+
title: Use a profile
3+
sidebar_position: 1
4+
tags:
5+
- public networks
6+
- private networks
7+
---
8+
9+
# Use a profile
10+
11+
You can load a profile to extend Besu's [default configuration](index.md#default-configuration), using the [`--profile`](../../reference/cli/options.md#profile) option.
12+
13+
Profiles simplify the process of configuring Besu for common use cases. Besu provides the following pre-configured profiles:
14+
15+
- [Minimalist staker profile](#minimalist-staker-profile)
16+
- [Staker profile](#staker-profile)
17+
- [Enterprise/Private profile](#enterpriseprivate-profile)
18+
19+
Alternatively, you can customize and [load external profiles](#load-external-profiles).
20+
21+
:::note
22+
Run `./besu --help` to view all available profiles.
23+
:::
24+
25+
:::note
26+
27+
A configuration option specified in the configuration file or on the command line
28+
[overrides the same option](index.md#configuration-order-of-precedence) set in the profile.
29+
30+
:::
31+
32+
## Minimalist staker profile
33+
34+
[`--profile=MINIMALIST_STAKER`](../../reference/cli/options.md#profile) is optimized for stakers who
35+
want to maximize their hardware value but don't want to serve full sets of data to their peers, See the
36+
[minimalist staker profile on GitHub](https://github.com/hyperledger/besu/blob/main/config/src/main/resources/profiles/minimalist-staker.toml)
37+
for the custom settings.
38+
39+
## Staker profile
40+
41+
[`--profile=STAKER`](../../reference/cli/options.md#profile) is optimized for stakers who want to
42+
maximize their hardware value while also serving full sets of data to their peers. See the
43+
[staker profile on GitHub](https://github.com/hyperledger/besu/blob/main/config/src/main/resources/profiles/staker.toml)
44+
for the custom settings.
45+
46+
## Enterprise/Private profile
47+
48+
`ENTERPRISE` and `PRIVATE` are aliases for the same profile. [`--profile=PRIVATE` / `--profile=ENTERPRISE`](../../reference/cli/options.md#profile)
49+
supports private network operators and enterprises by handling specific use cases that apply to
50+
private network operators. See the [enterprise/private profile on
51+
GitHub](https://github.com/hyperledger/besu/blob/main/config/src/main/resources/profiles/enterprise-private.toml)
52+
for the custom settings.
53+
54+
When using this profile, set [`--sync-mode=FULL`](../../reference/cli/options.md#sync-mode)
55+
and [`--data-storage-format=FOREST`](../../reference/cli/options.md#data-storage-format).
56+
57+
## Load external profiles
58+
59+
You can use external profiles to create custom Besu bundles with various plugins and their default options.
60+
61+
Add external profiles to a `profiles` directory under the root Besu directory.
62+
Run Besu with [`--profile`](../../reference/cli/options.md#profile) set to the external profile
63+
file name, without the `.toml` extension.
64+
For example, to load the `profiles/custom_profile.toml` profile, run:
65+
66+
```bash
67+
besu --profile=custom_profile
68+
```
69+
70+
:::note
71+
You can overwrite the directory in which to place external profiles using the `besu.profiles.dir`
72+
system property.
73+
:::
74+

0 commit comments

Comments
 (0)