Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ipfs-inactive/interface-js-ipfs-core
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.71.0
Choose a base ref
...
head repository: ipfs-inactive/interface-js-ipfs-core
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.72.0
Choose a head ref
  • 3 commits
  • 3 files changed
  • 2 contributors

Commits on Jul 5, 2018

  1. test(dag): add test to verify put API overrides hash algorithm (#323)

    As discussed in ipfs/js-ipfs#1419 (comment)
    at the time of this commit, `dag.put()` basically ignores the `hashAlg`
    option, as it passes it down to `ipld.put()`, which won't honor it until
    ipld/js-ipld#133 is merged.
    
    Once ipld/js-ipld#133 is merged, this test verifies
    that e.g.
    
    ```
    dag.put(cborNode, {
      format: 'dag-cbor',
      hashAlg: 'sha3-512'
    }, (err, cid) => {
      ...
    })
    ```
    
    Actually results in a `CID` instance that decodes to `sha3-512` and not
    the `sha2-256` default.
    
    License: MIT
    Signed-off-by: Pascal Precht pascal.precht@gmail.com
    0x-r4bbit authored and alanshaw committed Jul 5, 2018
    Configuration menu
    Copy the full SHA
    1c6c9f0 View commit details
    Browse the repository at this point in the history
  2. chore: update contributors

    alanshaw committed Jul 5, 2018
    Configuration menu
    Copy the full SHA
    0180fcb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3369be6 View commit details
    Browse the repository at this point in the history
Loading