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

feat: store blocks under multihash key #211

Merged
merged 4 commits into from
Jun 25, 2020

Commits on Jun 19, 2020

  1. feat: integration of js-ipfs-repo-migrations

    Integration of js-ipfs-repo-migrations brings automatic repo migrations
    to ipfs-repo (both in-browser and fs). It is possible to control the
    automatic migration using either config's setting
    'repoDisableAutoMigration' or IPFSRepo's option 'disableAutoMigration'.
    
    BREAKING CHANGE: repo.blocks.query() now returns multihashes as a key
    instead of CID. If you want to have CID returned call it as query({},
    true), which will constructs CIDv1 using IPLD's RAW codec. This means
    that this constructed CID might not equal to the one that the block was originally
    saved. Related to ipfs/js-ipfs#2415
    
    Co-authored-by: achingbrain <alex@achingbrain.net>
    AuHau and achingbrain committed Jun 19, 2020
    Configuration menu
    Copy the full SHA
    6c5e171 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2020

  1. Configuration menu
    Copy the full SHA
    57a9576 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ffa24e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    52a7a20 View commit details
    Browse the repository at this point in the history