niko_trust/internal/lightnode
Niko Marmeladkov d957108ac1
feat: YAML config for all server tunables
- server.Config + DefaultConfig + LoadConfig/ParseConfig (yaml.v3)
- all operator knobs now configurable: listen addr, audience, data dir,
  log level, per-IP rate limits, per-subject quota, challenge/session TTLs,
  max body bytes
- server.New takes Config; flags (-addr/-audience/-data/-config) override the
  file; missing config.yaml falls back to defaults
- config.yaml.example committed as template; config.yaml git-ignored
- tests for config defaults/parsing/partial override
2026-08-25 21:11:49 +03:00
..
auth.go feat: network layer — PoW, checkpoint chain, gossip, light node, WS, delegation, rotation, BFT 2026-08-25 20:38:40 +03:00
handler.go feat: network layer — PoW, checkpoint chain, gossip, light node, WS, delegation, rotation, BFT 2026-08-25 20:38:40 +03:00
integration_test.go feat: YAML config for all server tunables 2026-08-25 21:11:49 +03:00
lightnode.go feat: network layer — PoW, checkpoint chain, gossip, light node, WS, delegation, rotation, BFT 2026-08-25 20:38:40 +03:00
ws.go feat: network layer — PoW, checkpoint chain, gossip, light node, WS, delegation, rotation, BFT 2026-08-25 20:38:40 +03:00