Configuration File Location
Specify the configuration file when starting the node:Core Configuration
Key Pairs
Nodes require several keypairs for different functions:Database Configuration
db-path/live- Active databasedb-path/db_checkpoints- Database checkpointsdb-path/archive- Archived datadb-path/snapshot- State snapshots
Network Configuration
Genesis Configuration
API Configuration
JSON-RPC Server
gRPC API
gRPC Concurrency
P2P Configuration
Consensus Configuration (Validators)
Indexing Configuration
Storage Pruning
Checkpoint Executor
Execution Cache
Cache Environment Variables
Cache sizes can be overridden with environment variables:IOTA_CACHE_WRITEBACK_SIZE_MAXIOTA_CACHE_WRITEBACK_SIZE_PACKAGEIOTA_CACHE_WRITEBACK_SIZE_OBJECTIOTA_CACHE_WRITEBACK_SIZE_MARKERIOTA_CACHE_WRITEBACK_SIZE_OBJECT_BY_IDIOTA_CACHE_WRITEBACK_SIZE_TRANSACTIONIOTA_CACHE_WRITEBACK_SIZE_EXECUTED_EFFECTIOTA_CACHE_WRITEBACK_SIZE_EFFECTIOTA_CACHE_WRITEBACK_SIZE_EVENTSIOTA_CACHE_WRITEBACK_SIZE_TRANSACTION_OBJECTSIOTA_CACHE_WRITEBACK_BACKPRESSURE_THRESHOLDIOTA_CACHE_WRITEBACK_BACKPRESSURE_THRESHOLD_FOR_RPCDISABLE_WRITEBACK_CACHE- Set to any value to use passthrough cache
Database Environment Variables
IOTA_DB_SYNC_TO_DISK- Enable DB sync to disk (set to “0” to disable for testing)
Protocol Configuration
IOTA_PROTOCOL_CONFIG_OVERRIDE_ENABLE- Enable protocol config overridesIOTA_PROTOCOL_CONFIG_OVERRIDE_*- Override specific protocol parameters
Telemetry and Logging
All IOTA services support these environment variables for observability: Logging:RUST_LOG- Logging level configuration (e.g.,info,debug,iota_node=debug)RUST_LOG_JSON- Enable JSON logging formatRUST_LOG_FILE- Write logs to file path
TRACE_FILTER- Trace filteringCRASH_ON_PANIC- Crash process on panicTOKIO_CONSOLE- Enable tokio consoleTOKIO_SPAN_LEVEL- Tokio span levelSAMPLE_RATE- Trace sampling rateTRACE_FLAMEGRAPH- Enable flamegraph tracingTRACE_FILE- Trace output file path
OTEL_SERVICE_NAME- Service name for OpenTelemetry (default: “iota-node”)OTLP_ENDPOINT- OpenTelemetry OTLP endpoint
Overload Protection
Safety Checks
Metrics
Transaction & Certificate Deny Lists
State Archive & Snapshots
zkLogin Configuration
Advanced Settings
Example Configurations
Minimal Full Node
Production Validator
See the complete example in Running a Validator.Next Steps
- Monitor your node with Prometheus metrics
- Troubleshoot issues with common problems