Skip to content

Commit

Permalink
Update env-vars.mdx
Browse files Browse the repository at this point in the history
Added note about enabling transaction indexing
  • Loading branch information
Veightor authored Feb 6, 2025
1 parent c8f8d5a commit 4b48598
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions packages/docs/pages/operators/ledger/env-vars.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Expandable from "../../../components/Expandable";

# Node Configuration

By default, whenever the namada ledger is started, it will apply the confirguration found in the ledger configuration file `$BASE_DIR/$CHAIN_ID/config.toml`.
By default, whenever the namada ledger is started, it will apply the configuration found in the ledger configuration file `$BASE_DIR/$CHAIN_ID/config.toml`.

An example of a ledger configuration file is displayed below.

Expand Down Expand Up @@ -163,4 +163,13 @@ In principle, even `.` can be used for environment variable names.
However, in Bash, only the double underscore form can be
used, because Bash doesn't allow dots in environment variable names.
Therefore, we omit the dot form.
</Callout>
</Callout>

### Optional Functions

**Enable Transaction Indexing**: If you would like your validator to index transactions, set the `indexer` under `[ledger.cometbft.tx_index]` from `null` to `kv`.

```shell copy
[ledger.cometbft.tx_index]
indexer = "kv"
```

0 comments on commit 4b48598

Please sign in to comment.