Choose the relay tier for a set of filters.
Profiles, follow lists and relay lists come from the discovery tier; applet manifests from the apps tier; everything else goes to the user's outbox relays plus the super tier. A filter without kinds cannot be classified and takes the general path.
The current tier configuration.
Filters about to be sent.
Relay URLs, deduplicated.
selectRelayTier(tiers, [{ kinds: [0], authors: [pubkey] }]); // discovery, then outbox and super Copy
selectRelayTier(tiers, [{ kinds: [0], authors: [pubkey] }]); // discovery, then outbox and super
Choose the relay tier for a set of filters.
Profiles, follow lists and relay lists come from the discovery tier; applet manifests from the apps tier; everything else goes to the user's outbox relays plus the super tier. A filter without kinds cannot be classified and takes the general path.