pub trait AliasStore {
// Required methods
fn alias(&self, nid: &PublicKey) -> Option<Alias>;
fn reverse_lookup(
&self,
alias: &Alias,
) -> BTreeMap<Alias, BTreeSet<PublicKey>>;
}
Expand description
A trait for different sources which can potentially return an alias.