mirror of
https://github.com/jmcorgan/fips.git
synced 2026-08-09 08:14:42 +00:00
Merge branch 'refactor-hotpath' into refactor-hotpath-next
# Conflicts: # src/node/tests/acl.rs
This commit is contained in:
@@ -1093,6 +1093,13 @@ impl Node {
|
||||
self.identity.npub()
|
||||
}
|
||||
|
||||
/// Reload the host map if the backing `/etc/fips/hosts` file changed.
|
||||
///
|
||||
/// Returns `true` if a new snapshot was published.
|
||||
pub(crate) async fn reload_host_map(&mut self) -> bool {
|
||||
self.host_map.reload().await
|
||||
}
|
||||
|
||||
/// Return a human-readable display name for a NodeAddr.
|
||||
///
|
||||
/// Lookup order:
|
||||
|
||||
Reference in New Issue
Block a user