Files
redshift e2f6e37ebe feat: ship fresh nodes with default trusted Cashu mints
cashu_mints previously defaulted to an empty list, leaving a new node in a
half-working state: it silently trusted the hardcoded minibits primary mint
but advertised no mints in /v1/info or its NIP-91 listing, so clients
discovering the node had no way to know where to pay.

- default cashu_mints to minibits + cubabitcoin via shared DEFAULT_CASHU_MINTS
- reuse the constant for the primary_mint fallback (removes duplicate literal)
- CASHU_MINTS env or dashboard edits still replace the list entirely; an
  explicitly empty value keeps only the primary mint trusted
- document the defaults in configuration.md, dashboard.md, .env.example

Existing nodes are unaffected: the settings-blob merge skips persisted empty
lists, so unconfigured nodes pick up the defaults on restart while nodes with
explicit mints keep theirs.
2026-09-21 16:51:33 +03:00
..
2026-09-07 00:30:05 +02:00
2026-09-16 13:15:32 +02:00