mirror of
https://github.com/DeBrosOfficial/network.git
synced 2025-10-06 06:39:07 +00:00
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.
35 lines
686 B
YAML
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: ""
|