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

[WIP] Mustekala roadmap #19

Open
dryajov opened this issue Aug 10, 2018 · 0 comments
Open

[WIP] Mustekala roadmap #19

dryajov opened this issue Aug 10, 2018 · 0 comments
Assignees
Labels
Admin Management of the repository

Comments

@dryajov
Copy link
Member

dryajov commented Aug 10, 2018

Mustekala Roadmap

Requirements

Ethereum storage requierements

  • Facilitating account and token balance
    • Identify the slice associated with the token address
  • Get the slice
    • figure out if the slice is complete
      • we'll know if this is a final slice or not and download the remainder when we run the contract(s)
  • Run the contract
    • intercept the storage calls and download the slices that contain that storage (this is done already)

Kitsunet requirements

  • Nodes need to figure out which slices they are serving
    • We can use some sort of consistent hashing to map slices onto peers
    • The node also keeps the slices that it needs, for example for the accounts it's interested in
    • as a possible optiomization, we might also want to have a notion of topologicaly close nodes that collaborate with
  • block source
    • mvp: infura via http
  • slice source
    • ideas:
        1. slice producing geth forks joins kitsunet
        • cons: more complexity, deploy frequently, ensure browser + node coverage
        1. slice producing geth fork exposes http/ws accessed by "activated" node
        • pro: simple, lets us focus on gossip/topo

MVP

As a first step, we want to have a few slices that we subscribe to and get the accounts balances and token balances.

  • multiple slice feeds
  • block header feed
  • passive nodes track header and 1 slice
  • active nodes change their slice subscription
@dryajov dryajov assigned ghost , kumavis and dryajov Aug 10, 2018
@ghost ghost added the Admin Management of the repository label Nov 4, 2018
@ghost ghost removed their assignment Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin Management of the repository
Projects
None yet
Development

No branches or pull requests

2 participants