tane/packages/commons_core/lib/src
vjrj 2a6b4b0947 feat(block2): relay pool — publish to many relays, discover deduped, tolerate failures
Relay-strategy hardening (network-trust §3): don't hang on one relay.
- NostrChannel interface: what the transports need (sign, publish, subscribe,
  reqOnce). Implemented by NostrConnection (single relay) and the new RelayPool.
- RelayPool: connects to all configured relays (skips unreachable ones, throws
  only when none are reachable), publishes to every live relay (accepted if any
  accepts), merges discovery deduped by event id, and survives a relay dropping.
- Transports now depend on NostrChannel, not a concrete connection.
- SocialService.openSession takes ALL configured relays (was relays.first);
  createOffersCubit passes the whole list.

commons_core 63 tests green (3 new pool tests over two in-process relays);
app_seeds social/market 18 green.
2026-07-10 10:35:39 +02:00
..
clock feat(block1): inventory walking skeleton + first quick-add slice 2026-07-07 15:16:14 +02:00
crypto feat(backup): sealed backups + printable recovery sheet 2026-07-09 22:32:13 +02:00
identity feat(block2): commons_core social foundation — derivation, types, interfaces, WoT 2026-07-10 02:31:02 +02:00
ids feat(block1): inventory walking skeleton + first quick-add slice 2026-07-07 15:16:14 +02:00
social feat(block2): relay pool — publish to many relays, discover deduped, tolerate failures 2026-07-10 10:35:39 +02:00
value feat(db): lot presentation + attachment sort order (schema v4→v5) 2026-07-09 11:51:21 +02:00