Skip to content

Commit

Permalink
Merge pull request #426 from Veightor/patch-1
Browse files Browse the repository at this point in the history
Update env-vars.mdx
  • Loading branch information
brentstone authored Feb 12, 2025
2 parents 8124b2a + 4b48598 commit bc2079a
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 bc2079a

Please sign in to comment.