Skip to content

Commit

Permalink
refactor(networking): use workspace bootstrap_cache crate
Browse files Browse the repository at this point in the history
Remove custom bootstrap cache implementation from sn_networking in favor of using
the existing bootstrap_cache crate from the workspace. This change:

* Removes duplicate bootstrap cache implementation from sn_networking
* Updates NetworkDiscovery to use the official bootstrap_cache types
* Ensures consistent cache behavior across sn_node and autonomi through sn_networking
* Manually implements Debug for NetworkDiscovery to handle CacheStore

This change reduces code duplication and ensures consistent bootstrap cache
behavior across the entire codebase.
  • Loading branch information
dirvine committed Nov 21, 2024
1 parent 1b0d53a commit 49820d4
Show file tree
Hide file tree
Showing 5 changed files with 221 additions and 276 deletions.
Loading

0 comments on commit 49820d4

Please sign in to comment.