Skip to content

Implement fallback blockstore #6353

Open

Description

@hanabi1224

Summary

Lotus has a fallback blockstore that can be enabled by setting LOTUS_ENABLE_CHAINSTORE_FALLBACK=1, we need to implement the same in Forest.

The fallback blockstore uses bitswap to fetch missing blocks from the p2p network

Completion Criteria

  • [ ]

Additional Links & Resources

Activity

  1. LesnyRumcajs commented on Dec 16, 2025

    @LesnyRumcajs
    Member

    Do you think there are some security considerations we should have in place for this feature? E.g., fetching missing blocks for random tipset that a malicious node published could potentially exhaust the node's memory/disk space, right?

  2. hanabi1224 commented on Dec 16, 2025

    @hanabi1224
    ContributorAuthor

    @LesnyRumcajs I think that's a valid concern. We could follow Lotus to disable this feature by default. This is useful for powering Curio tho.

  3. moved this from New to Ready in Forest Backlog 🌲on Dec 18, 2025
  4. 0xDevNinja commented on Dec 28, 2025

    @0xDevNinja
    Contributor

    Hi, I'd like to work on this issue. Could you please assign it to me? Thanks!

  5. hanabi1224 commented on Jan 7, 2026

    @hanabi1224
    ContributorAuthor

    Hey @0xDevNinja thank you for your help and sorry for the late response. Yes, please go ahead with this task and let us know if you have any questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: TaskDiscrete task to implement

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions