niko_trust/internal/server
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
..
bft.go feat: network layer — PoW, checkpoint chain, gossip, light node, WS, delegation, rotation, BFT 2026-08-25 20:38:40 +03:00
checkpoint.go feat: network layer — PoW, checkpoint chain, gossip, light node, WS, delegation, rotation, BFT 2026-08-25 20:38:40 +03:00
checkpoint_test.go feat: YAML config for all server tunables 2026-08-25 21:11:49 +03:00
config.go feat: YAML config for all server tunables 2026-08-25 21:11:49 +03:00
config_test.go feat: YAML config for all server tunables 2026-08-25 21:11:49 +03:00
gossip.go feat: network layer — PoW, checkpoint chain, gossip, light node, WS, delegation, rotation, BFT 2026-08-25 20:38:40 +03:00
gossip_test.go feat: YAML config for all server tunables 2026-08-25 21:11:49 +03:00
invariants_test.go feat: network layer — PoW, checkpoint chain, gossip, light node, WS, delegation, rotation, BFT 2026-08-25 20:38:40 +03:00
metrics.go feat: network layer — PoW, checkpoint chain, gossip, light node, WS, delegation, rotation, BFT 2026-08-25 20:38:40 +03:00
pow.go feat: network layer — PoW, checkpoint chain, gossip, light node, WS, delegation, rotation, BFT 2026-08-25 20:38:40 +03:00
pow_test.go feat: YAML config for all server tunables 2026-08-25 21:11:49 +03:00
ratelimit.go Initial commit: signed-object trust relay, verifier, and docs 2026-08-12 22:36:49 +03:00
ratelimit_test.go Initial commit: signed-object trust relay, verifier, and docs 2026-08-12 22:36:49 +03:00
server.go feat: YAML config for all server tunables 2026-08-25 21:11:49 +03:00
server_test.go feat: YAML config for all server tunables 2026-08-25 21:11:49 +03:00
store.go feat: YAML config for all server tunables 2026-08-25 21:11:49 +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
ws_test.go feat: network layer — PoW, checkpoint chain, gossip, light node, WS, delegation, rotation, BFT 2026-08-25 20:38:40 +03:00