Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Add option to use RIBS as Motion blob store #26

Merged
merged 1 commit into from
Jul 20, 2023
Merged

Commits on Jul 20, 2023

  1. Add option to use RIBS as Motion blob store

    Implement an experimental option to use RIBS as Motion `blob.Store`. The
    implementation uses a flat-file directory to store an index of Motion
    `blob.ID` to IPFS blocks stored by RIBS.
    
    RIBS would then accumulate the stored information and makes deals in
    the background. The SP selection and wallet configuration is hard coded
    in RIBS. The FileCoin wallet is instantiated automatically if it does
    not exist at `~/.ribswallet`. Making this configurable requires changes
    in RIBS.
    
    Retrieval API implements an `io.ReadSeekCloser` which allows range
    reads over a list of CIDs.
    
    Offloading onto S3 compatible APIS, like AWS S3 and CloudFlare R2 is
    supported by RIBS and activated if specific environment variables are
    set. See: https://github.com/FILCAT/ribs/blob/0d5f0580effc112b01fe676f080bdbf1c2c7568a/rbdeal/car_offload_s3.go#L28
    
    The RIBS storage is disabled by default. It is enabled by setting the
    option `--experimentalRibsStore`.
    
    This implementation is experimental: it should not be used in
    Production environment. It is implemented to facilitate experimentation
    and scoping of the Motion project.
    
    Disable 32-bit tests due to RIBS dependencies.
    masih committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    08fa06e View commit details
    Browse the repository at this point in the history