network/configs/bootstrap.yaml
anonpenguin b7d8c42464 Remove DHT dependency and simplify peer discovery
Replace DHT-based discovery with bootstrap peerstore and peer exchange.
Update config and code to remove DHT references and dependencies. Add
data directory override support in node config. Cleanup related config
files and dependencies.
2025-08-14 14:02:58 +03:00

35 lines
686 B
YAML

node:
id: "" # Auto-generated
type: "bootstrap"
listen_addresses:
- "/ip4/0.0.0.0/tcp/4001"
- "/ip4/0.0.0.0/udp/4001/quic"
data_dir: "./data/bootstrap"
max_connections: 100
is_bootstrap: true
database:
data_dir: "./data/bootstrap/db"
replication_factor: 3
shard_count: 16
max_database_size: 1073741824 # 1GB
backup_interval: "24h"
rqlite_port: 5001
rqlite_raft_port: 7001
discovery:
bootstrap_peers: [] # Bootstrap nodes don't need peers
enable_mdns: true
discovery_interval: "5m"
security:
enable_tls: false
private_key_file: ""
certificate_file: ""
auth_enabled: false
logging:
level: "info"
format: "console"
output_file: ""