loadConfig() liest 3 pflicht-keys (BUNKER_URL, AUTHOR_PUBKEY_HEX, BOOTSTRAP_RELAY) und 3 optionale mit defaults (CONTENT_ROOT, CLIENT_TAG=leer, MIN_RELAY_ACKS=2). pubkey-hex-format validiert (64 lowercase hex), MIN_RELAY_ACKS als positive integer. 6 tests, alle grün. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| config_test.ts | ||