Closed mycognosist closed 1 year ago
Increase modularity and separation of concerns.
This PR separates the secret handshake negotiation from the replication logic and splits much of the codebase into modules. It also performs some renaming of modules, actors and variables for the sake of accuracy and clarity.
The updated tree:
src/actors ├── ctrlc.rs ├── jsonrpc │ ├── config.rs │ ├── mod.rs │ └── server.rs ├── mod.rs ├── muxrpc │ ├── blobs_get.rs │ ├── blobs_wants.rs │ ├── get.rs │ ├── handler.rs │ ├── history_stream.rs │ ├── mod.rs │ └── whoami.rs ├── network │ ├── connection_manager.rs │ ├── lan_discovery.rs │ ├── mod.rs │ ├── secret_handshake.rs │ └── tcp_server.rs └── replication ├── classic.rs └── mod.rs
Increase modularity and separation of concerns.
This PR separates the secret handshake negotiation from the replication logic and splits much of the codebase into modules. It also performs some renaming of modules, actors and variables for the sake of accuracy and clarity.
The updated tree: