Skip to content
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

chore: storenode cycle improvements #1246

Open
6 tasks
richard-ramos opened this issue Oct 21, 2024 · 0 comments
Open
6 tasks

chore: storenode cycle improvements #1246

richard-ramos opened this issue Oct 21, 2024 · 0 comments
Assignees

Comments

@richard-ramos
Copy link
Member

#1223 (review)

  • Interface between status-go and waku api should be simple i.e status-go specifies list of storenodes to be used and waku internally manages connectivity to them and picks a storenode and manages active store. There can be one event emitter than status-go can register with to get all updates such as what is active-store-node, in case connectivity is lost etc.
  • All 3 components i.e history-query, missing-messages and message-check should end up using same set of store nodes instead of their own selection criteria and logic.
  • selection of storenode can be done using peer-selection and RTT. logic seems duplicated here
  • store node failed requests should also consider requests made from missing_messages and message_check so that active storenode can be switched.

status-im/status-go#5857 (comment)

  • use a state machine for different status of store node to simplify the channels

#1223 (comment)

  • simplify PerformStorenodeTask
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant