maidsafe / safe_network

72 stars 40 forks source link

Reduce replication msg processing #1977

Closed joshuef closed 1 month ago

joshuef commented 1 month ago

replication_fetcher.add_keys will result in the same thing with or without all the preprocessing now

This pull request primarily focuses on refactoring and simplifying the SwarmDriver implementation in sn_networking/src/event/request_response.rs and the ReplicationFetcher implementation in sn_networking/src/replication_fetcher.rs. The main changes involve removing unnecessary methods, consolidating code, and improving readability.

Refactoring in sn_networking/src/event/request_response.rs:

Refactoring in sn_networking/src/replication_fetcher.rs: