-
Notifications
You must be signed in to change notification settings - Fork 57
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
refactor: Moved external APIs out of node #2069
Conversation
You can find the image built from this PR at
Built from 7f83c3d |
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.
LGTM! Thanks for it! 💯
Just a comment: I don't see the need to move peer_manager
out of node
. Could elaborate a bit more on why this is interesting plz?
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.
Seems to work :)
I haven't looked into it yet but either reorganize some files only OR move the logic to the app layer. As for why, managing peers is always app specific. A light node that only use light push and filter is not going to manage peers the same as a full node with relay enabled for multiple shards. |
951da9e
to
92bb6e3
Compare
Description
The JSONRPC and REST APIs are no longer part of
node
. I created awaku_api
folder for them.This would be the first step in a bigger refactoring effort. Next step would be to move peer manager out of
node
as well.Tracking #1941