Skip to content

Commit

Permalink
Add min gas option (#1490)
Browse files Browse the repository at this point in the history
* add min gas

Signed-off-by: Joan Edwards <joan.edwards@consensys.net>

* add space

Signed-off-by: Joan E <153745173+joaniefromtheblock@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: Joan E <153745173+joaniefromtheblock@users.noreply.github.com>

---------

Signed-off-by: Joan Edwards <joan.edwards@consensys.net>
Signed-off-by: Joan E <153745173+joaniefromtheblock@users.noreply.github.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
  • Loading branch information
3 people authored Feb 1, 2024
1 parent f5ca434 commit 88d3dd4
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions docs/public-networks/reference/cli/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -4983,6 +4983,47 @@ instead of the number of transactions.
To configure the maximum memory capacity, use [`--tx-pool-layer-max-capacity`](#tx-pool-layer-max-capacity).
:::

### `tx-pool-min-gas-price`

<Tabs>

<TabItem value="Syntax" label="Syntax" default>

```bash
--tx-pool-min-gas-price=<INTEGER>
```

</TabItem>

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

```bash
--tx-pool-min-gas-price=2000
```

</TabItem>

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

```bash
BESU_TX_POOL_MIN_GAS_PRICE=2000
```

</TabItem>

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

```bash
tx-pool-min-gas-price="2000"
```

</TabItem>

</Tabs>

The minimum gas price, in wei, required for a transaction to be accepted into the [transaction pool](../../concepts/transactions/pool.md).


### `tx-pool-no-local-priority`

<Tabs>
Expand Down

0 comments on commit 88d3dd4

Please sign in to comment.