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

lotus-lite mode #3532

Closed
whyrusleeping opened this issue Sep 3, 2020 · 3 comments
Closed

lotus-lite mode #3532

whyrusleeping opened this issue Sep 3, 2020 · 3 comments
Labels
area/chain Area: Chain P2 P2: Should be resolved

Comments

@whyrusleeping
Copy link
Member

Adding light client functionality to lotus should be pretty straightforward.

Functionality changes:

  • start up daemon with lotus daemon --lite
  • Don't sync the chain
  • Fetch current chain head from some public API (trusted)
  • make chainstore and statemanager be backed by bitswap
  • opt out of gossipsub topics (could also stay subscribed to blocks topic, potentially useful)
@whyrusleeping
Copy link
Member Author

The first thing we need to do here is to actually just get that public API set up. I think this can just be a lotus node with the ChainNotify rpc exposed (though we need to take care to not lock up everything if the other end doesnt process the updates)

@362228416
Copy link

Can be used?

@arajasek
Copy link
Contributor

arajasek commented Nov 4, 2020

Status update from @dirkmc:

Currently the lite client work is behind a hidden flag (lotus daemon --lite). You can:

  • Do wallet / multisig operations
  • Make markets CLI / API calls as a client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/chain Area: Chain P2 P2: Should be resolved
Projects
None yet
Development

No branches or pull requests

5 participants