Skip to main content

Berachain Node Configuration Reference

app.toml

Base Configuration (Top-level Options)

These options appear at the top of the file without a section header.

Pruning Options

  • default: The last 362880 states are kept, pruning at 10 block intervals
  • nothing: All historic states will be saved, nothing will be deleted (archiving node)
  • everything: Only 2 latest states will be kept; pruning at 10 block intervals
  • custom: Manual specification through pruning-keep-recent and pruning-interval

Telemetry Configuration [telemetry]

BeaconKit Configuration

BeaconKit settings are organized into several subsections.

Core settings [beacon-kit].

Engine [beacon-kit.engine]

Logger [beacon-kit.logger]

KZG [beacon-kit.kzg]

Implementation Options:
  • crate-crypto/go-kzg-4844
  • ethereum/c-kzg-4844

Payload Builder [beacon-kit.payload-builder]

Validator [beacon-kit.validator]

Block Store Service [beacon-kit.block-store-service]

Node API [beacon-kit.node-api]

config.toml

Berachain Node CometBFT Configuration Reference

This document describes the configuration options available in the config.toml file for the CometBFT consensus engine used by Berachain nodes. Current CometBFT version: 1.0.1

Main Base Config Options (Top-level)

Database Backend Options

  • badgerdb: Uses github.com/dgraph-io/badger (stable, pure go)
  • goleveldb: Uses github.com/syndtr/goleveldb (UNMAINTAINED, stable, pure go)
  • pebbledb: Uses github.com/cockroachdb/pebble (stable, pure go)
  • rocksdb: Uses github.com/linxGnu/grocksdb (requires gcc)
  • cleveldb: Uses levigo wrapper (DEPRECATED, requires gcc)
  • boltdb: Uses etcd’s fork of bolt (DEPRECATED, stable)

RPC Server Configuration [rpc]

gRPC Server Configuration [grpc]

gRPC Service Configurations

Privileged gRPC Endpoints [grpc.privileged]

Pruning Service [grpc.privileged.pruning_service]

P2P Configuration [p2p]

Mempool Configuration [mempool]

Mempool Types

  • "flood": Concurrent linked list mempool with flooding gossip protocol (default)
  • "nop": No-operation mempool where the ABCI app handles transactions

State Sync Configuration [statesync]

Block Sync Configuration [blocksync]

Consensus Configuration [consensus]

Storage Configuration [storage]

Pruning Configuration [storage.pruning]

Data Companion Configuration [storage.pruning.data_companion]

Transaction Indexer Configuration [tx_index]

Indexer Options

  • "null": No indexer
  • "kv": Simple key-value storage indexer (default)
  • "psql": PostgreSQL-backed indexer

Instrumentation Configuration [instrumentation]