Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update env-vars.mdx #426

Merged
merged 1 commit into from
Feb 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
```
Loading