forked from n0-computer/iroh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(iroh): move code from builder to node and make things nicer (n…
…0-computer#2386) This is a cleanup of the node and builder code. * Move `run` and `gc_loop` from `builder.rs` to `node.rs` - it is not about building but about running. * Improve the code flow and naming all around the builder, spawn and run functions * Make sure we shutdown the node correctly while spawning * Removed `Node::controller`. Use `Node::client` instead. The former was mostly unusable anyway because we made the RPC structs private. <!-- Any notes, remarks or open questions you have to make about the PR. --> - [x] Self-review. - [x] Documentation updates if relevant. - [ ] ~~Tests if relevant.~~ - [x] All breaking changes documented.
- Loading branch information
Showing
3 changed files
with
614 additions
and
614 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.