Skip to content

Commit

Permalink
Auto-update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rubo committed Sep 19, 2024
1 parent 5cfd763 commit 3df9d7f
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docs/fundamentals/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ The command line options are case-sensitive and can be defined only once unless
</summary>
<p>

- **`--Blocks.BlockProductionTimeoutMs <value>`** `NETHERMIND_BLOCKSCONFIG_BLOCKPRODUCTIONTIMEOUTMS`

Block Production timeout, in milliseconds. Defaults to `4000`.

- **`--Blocks.ExtraData <value>`** `NETHERMIND_BLOCKSCONFIG_EXTRADATA`

The block header extra data up to 32 bytes in length. Defaults to `Nethermind`.
Expand Down Expand Up @@ -191,6 +195,29 @@ The command line options are case-sensitive and can be defined only once unless
<details>
<summary className="nd-details-heading">

#### CensorshipDetector

</summary>
<p>

- **`--CensorshipDetector.AddressesForCensorshipDetection <value>`** `NETHERMIND_CENSORSHIPDETECTORCONFIG_ADDRESSESFORCENSORSHIPDETECTION`

The addresses for which censorship is being detected. Defaults to `null`.

- **`--CensorshipDetector.BlockCensorshipThreshold <value>`** `NETHERMIND_CENSORSHIPDETECTORCONFIG_BLOCKCENSORSHIPTHRESHOLD`

Number of consecutive blocks with detected potential censorship to report censorship attempt Defaults to `2`.

- **`--CensorshipDetector.Enabled <value>`** `NETHERMIND_CENSORSHIPDETECTORCONFIG_ENABLED`

Enabling censorship detection feature Allowed values: `true` `false`. Defaults to `true`.

</p>
</details>

<details>
<summary className="nd-details-heading">

#### EthStats

</summary>
Expand Down
41 changes: 41 additions & 0 deletions docs/interacting/json-rpc-ns/eth.md
Original file line number Diff line number Diff line change
Expand Up @@ -1080,6 +1080,47 @@ curl localhost:8545 \
</TabItem>
</Tabs>

### eth_getRawTransactionByHash

Retrieves a transaction RLP by hash

<Tabs>
<TabItem value="params" label="Parameters">

1. `transactionHash`: *string* (hash)


</TabItem>
<TabItem value="request" label="Request" default>

```bash
curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "eth_getRawTransactionByHash",
"params": [transactionHash]
}'
```

</TabItem>
<TabItem value="response" label="Response">

```json
{
"jsonrpc": "2.0",
"id": 0,
"result": result
}
```

`result`: *string*

</TabItem>
</Tabs>

### eth_getStorageAt

Returns storage data at address. storage_index
Expand Down

0 comments on commit 3df9d7f

Please sign in to comment.