Files
aitbc/examples/node.env.example
aitbc 00eabf3064
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
Restore coordinator env settings and disable RPC block production
2026-04-15 10:51:28 +02:00

54 lines
1.8 KiB
Plaintext

# AITBC Node-Specific Environment Configuration Template
# Copy this file to /etc/aitbc/node.env and customize for each node
# This file contains variables unique to each node - DO NOT share across nodes
# =========================
# Node Identity
# =========================
# Unique identifier for this node (must be different for each node)
NODE_ID=aitbc
# =========================
# P2P Configuration
# =========================
# P2P node identity (must be unique for each node)
p2p_node_id=aitbc
# Proposer ID (PoA authority/block proposer)
# Each node should have its own unique proposer_id
proposer_id=ait1ytkh0cn8v2a4zjwzyav6854832myf9j7unsse8yntmuwzst4qhtqe9hqdw
# Set false on follower/non-proposer nodes
# enable_block_production=false
# P2P Peers (comma-separated list of peer nodes)
# List other nodes in the network that this node should connect to
# Format: hostname:port (e.g., "aitbc1:7070,aitbc2:7070")
p2p_peers=aitbc1:7070
# =========================
# Trusted Propers
# =========================
# For follower nodes - list of trusted proposer addresses
# Leave empty for proposer nodes
trusted_proposers=
# =========================
# Node-Specific Host Bindings (optional)
# =========================
# Override default host bindings if needed for this specific node
# NODE_HOST=0.0.0.0
# NODE_PORT=7070
# =========================
# Setup Instructions
# =========================
# 1. Copy this template: cp /opt/aitbc/examples/node.env.example /etc/aitbc/node.env
# 2. Edit /etc/aitbc/node.env and set unique values for:
# - NODE_ID (unique per node)
# - p2p_node_id (unique per node)
# - proposer_id (unique per node)
# - p2p_peers (list other nodes in network)
# 3. Restart services: systemctl restart aitbc-blockchain-p2p
# 4. Verify connectivity: journalctl -fu aitbc-blockchain-p2p