Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to correct example #1721

Merged
merged 5 commits into from
Oct 22, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions docs/public-networks/reference/cli/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -5486,44 +5486,51 @@ in a block in your network.
<TabItem value="Syntax" label="Syntax" default>

```bash
--tx-pool-max-prioritized-by-type=<TYPE=INTEGER>
--tx-pool-max-prioritized-by-type=["TYPE=INTEGER","TYPE=INTEGER"]
joaniefromtheblock marked this conversation as resolved.
Show resolved Hide resolved
```

</TabItem>

<TabItem value="Example" label="Example">

```bash
--tx-pool-max-prioritized-by-type=BLOB=6
--tx-pool-max-prioritized-by-type=["BLOB=6","FRONTIER=200"]
```

</TabItem>

<TabItem value="Environment variable" label="Environment variable">

```bash
BESU_TX_POOL_MAX_PRIORITIZED_BY_TYPE=BLOB=6
BESU_TX_POOL_MAX_PRIORITIZED_BY_TYPE=["BLOB=6","FRONTIER=200"]
```

</TabItem>

<TabItem value="Configuration file" label="Configuration file">

```bash
tx-pool-max-prioritized-by-type="BLOB=6"
tx-pool-max-prioritized-by-type=["BLOB=6","FRONTIER=200"]
```

</TabItem>

</Tabs>

The maximum number of transactions of a specific [transaction type](../../concepts/transactions/types.md) that are prioritized in the [layered transaction pool](../../concepts/transactions/pool.md#layered-transaction-pool).
The maximum number of transactions of a specific [transaction type](../../concepts/transactions/types.md) that are prioritized in the [layered transaction pool](../../concepts/transactions/pool.md#layered-transaction-pool).

This option is mostly useful for tuning the amount of prioritized [blob transactions](../../concepts/transactions/types.md#blob-transactions) in the transaction pool.
Keeping the prioritized layer sorted is costly, and only a few blob transactions can fit in a block (currently a maximum of six).
Tuning the maximum number of prioritized transactions by type can help maintain the efficiency and performance of the transaction pool.
The default is `BLOB=6`.

:::note

[Frontier is the original Ethereum protocol that introduced the first transaction style with a basic gas fee system,
before updates such as [EIP-1559](../../concepts/transactions/types.md#eip1559-transactions).

:::
joaniefromtheblock marked this conversation as resolved.
Show resolved Hide resolved

### `tx-pool-max-size`

<Tabs>
Expand Down
Loading