pub fn advertised_list(
earlier: Option<&Event>,
outbox: &[RelayUrl],
inbox: &[RelayUrl],
now: Timestamp,
) -> Option<EventBuilder>Expand description
The relay list (NIP-65) that replaces earlier, if there is one to
replace: with outbox for the relays written to and inbox for those
read, a relay in both named once, and whatever else earlier had in
it as it was. The relays written to come in their order, and after
them those that are only read, in theirs: a list has one order for
both.
None when earlier names the same relays for the same things in
the same order: there is nothing to write.