-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
DI-based core.NewNode #6162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
DI-based core.NewNode #6162
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
7c6a920
gomod: import dig
magik6k 2379787
gomod: import uber/fx
magik6k 0fd2f80
Initial DI node implementation
magik6k 361ba69
Organize NewNode a bit
magik6k 65d8fad
Properly set IsOnline in NewNode
magik6k ccc576b
More constructor fixes
magik6k cc2be2e
Fix goprocess / lifecycle / ctx relations
magik6k bfaffb2
Fix bootstrap
magik6k 1acb450
Fix some blockstore type mixups
magik6k 0ba7661
Fix context propagation sortof
magik6k d0670f2
Rewire teardown routines to lifecycles
magik6k 5299299
Move ConnMgr construction into DI provider
magik6k c5f887d
fuse: fix govet warning
magik6k adbc85b
Remove old constructor code
magik6k d35dac7
Cleanup core package
magik6k 7046626
Move pathresolve
magik6k fd0c06a
Remove DI module dependency on BuildCfg
magik6k 3ac6057
Separate function to parse BuildCfg into Options
magik6k e4cf660
Move option parsing to BuildCfg; fix imports
magik6k 0e6f8d4
bootstrap: cleanup randomSubsetOfPeers
magik6k 803512e
Invoke Provider.Run in lc.OnStart
magik6k bb4b99e
Rename lcProcess.Run to Append, add docs
magik6k 23f50ab
Minor cleanups in libp2p construction
magik6k bf380b8
Cleanup routing related units
magik6k d574658
Handle Provider closing in lifecycle
magik6k 19cc7c9
Remove relay address filtering logic
magik6k c9ea728
chore: remove duplicate import
Stebalien File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's leave the explicit names for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(meh, actually, I don't care much either way)