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

Add support for rabin fingerprinting chunk algorithm#222

Closed
dordille wants to merge 1 commit intoipfs-inactive:masterfrom
dordille:rabin-chunker
Closed

Add support for rabin fingerprinting chunk algorithm#222
dordille wants to merge 1 commit intoipfs-inactive:masterfrom
dordille:rabin-chunker

Conversation

@dordille
Copy link
Copy Markdown
Contributor

@dordille dordille commented Jul 26, 2018

This is required to have feature parity with go-ipfs which supports rabin chunking algorithm.

Rabin chunker supports the following chunkerOptions: minChunkSize, avgChunkSize, maxChunkSize, polynomial, window. Defaults for these options are the same as those defined by ipfs/go-ipfs-chunker.

I have opened a PR against the rabin library to allow for these parameters to be modified from javascript, dat-ecosystem-archive/rabin/pull/24.

Supports ipfs/js-ipfs#1283

This is required to have feature parity with go-ipfs which supports rabin chunking algorithm.
Rabin chunker supports the following `chunkerOptions`
minChunkSize: {integer}
avgChunkSize: {integer}
maxChunkSize: {integer}
polynomial:   {string}
window:       {integer}
Rabin chunker uses the same defaults defined by go-ipfs-chunker.

Supports ipfs/js-ipfs#1283

License: MIT
Signed-off-by: Dan Ordille <dordille@gmail.com>
@dordille dordille closed this Jul 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant