Skip to content

Commit

Permalink
Merge branch 'main' into 1487-update-method
Browse files Browse the repository at this point in the history
  • Loading branch information
joaniefromtheblock authored Feb 7, 2024
2 parents 0139aec + 4994186 commit 2599dca
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/public-networks/concepts/node-keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ besu --node-private-key-file="/Users/username/privatekeyfile"

## Enode URL

The enode URL identifies a node. For example, the [`--bootnodes`](../reference/cli/options.md#bootnodes) option and the [`perm_addNodesToAllowlist`](../reference/api/index.md#perm_addnodestoallowlist) method specify nodes by enode URL.
The enode URL identifies a node. For example, the [`--bootnodes`](../reference/cli/options.md#bootnodes) option and the [`admin_addPeer`](../reference/api/index.md#admin_addpeer) method specify nodes by the enode URL.

The enode URL format is `enode://<id>@<host:port>[?discport=<port>]` where:

Expand Down
40 changes: 40 additions & 0 deletions docs/public-networks/reference/cli/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -3074,6 +3074,46 @@ Enabling revert reason may use a significant amount of memory. We don't recommen

:::

### `rpc-gas-cap`

<Tabs>

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

```bash
--rpc-gas-cap=<INTEGER>
```

</TabItem>

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

```bash
--rpc-gas-cap=50000000
```

</TabItem>

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

```bash
BESU_RPC_GAS_CAP=50000000
```

</TabItem>

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

```bash
rpc-gas-cap=50000000
```

</TabItem>

</Tabs>

Sets a limit on the amount of gas for transaction simulation RPC methods. Its value must be greater than or equal to `0`. The default is `0`, which indicates there is no limit. This cap prevents [`eth_call`](../api/index.md#eth_call) requests from using excessive resources.

### `rpc-http-api`

<Tabs>
Expand Down

0 comments on commit 2599dca

Please sign in to comment.