-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add support for Rabin fingerprinting to js-ipfs #1283
Comments
Issue Status: 1. Open 2. Started 3. Submitted 4. Done This issue now has a funding of 0.4 ETH (247.87 USD @ $619.68/ETH) attached to it.
|
Hi @diasdavid, Vivek from Gitcoin here. We posted a small bounty on this on Gitcoin to see if it brings some attention. If you'd like any other bounties, let us know - we'd love to support! |
@rafaelboyero Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
Still need help on this? |
The ECMAScript client is in need of a rewrite: it uses some pre-2015 non-standard streams implementation, closures and dictionaries of functions when today's answer would be async iterators. Not a class in sight with the go client, one can do |
Hey @tcsiwula - yes! If you'd still like to take it on let me know. |
… On Fri, Jul 13, 2018, 9:41 AM Scott Moore ***@***.***> wrote:
Hey @tcsiwula <https://github.com/tcsiwula> - yes! If you'd still like to
take it on let me know.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1283 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAACQxuqhUciU8BCkcaplXmDWsFi06_Rks5uGF1RgaJpZM4S9D0X>
.
|
Looking for help on this? Took a look at the rabin module linked by @mikeal and was wondering if there is any concern about compatibility with the browserify build of js-ipfs, not too familiar with that process and whether modules that have c dependencies are included elsewhere. |
While there isn't a browser version we can just set the browser field in package.json to |
Submitted dat-ecosystem-archive/rabin/pull/24 to allow for configuring the window size and polynomial used by the chunker. This will allow chunking used by js-ipfs to match go-ipfs-chunker. Will have PRs up shortly for |
Should we consider surfacing these chunker settings in unixfs so that, when files are changed, they can be re-chunked to more closely match the prior chunking? |
I'd have to defer to someone that knows more about how often settings like window and the polynomial will be changed. Looking at the equivalent go source, it doesn't seem like there is a practical way to alter the window size or the polynomial used when chunking. Polynomial: https://github.com/ipfs/go-ipfs-chunker/blob/master/rabin.go#L11 It would be pretty straightforward though to update the chunkers in unixfs to export default values used in addition to the stream handler. |
…ithms This is required to have feature parity with go-ipfs which supports rabin chunking algorithm. Rabin chunker supports teh following `chunkerOptions`: `minChunkSize`, `avgChunkSize`, `window`, and `polynomial`. Rabin chunker uses the same defaults specified by the go-ipfs-chunker. Supports ipfs/js-ipfs#1283 License: MIT Signed-off-by: Dan Ordille <dordille@gmail.com>
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>
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>
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>
This allows the chunking algorithm, and options to be specified when using the adding files. Specifying chunker and options are identical to go-ipfs and support the following formats: default, size-{size}, rabin, rabin-{avg}, rabin-{min}-{avg}-{max} This is required to achieve parity with go-ipfs. Fixes ipfs#1283 License: MIT Signed-off-by: Dan Ordille <dordille@gmail.com>
This allows the chunking algorithm, and options to be specified when using the adding files. Specifying chunker and options are identical to go-ipfs and support the following formats: default, size-{size}, rabin, rabin-{avg}, rabin-{min}-{avg}-{max} This is required to achieve parity with go-ipfs. Fixes ipfs#1283 License: MIT Signed-off-by: Dan Ordille <dordille@gmail.com>
This allows the chunking algorithm, and options to be specified when using the adding files. Specifying chunker and options are identical to go-ipfs and support the following formats: default, size-{size}, rabin, rabin-{avg}, rabin-{min}-{avg}-{max} This is required to achieve parity with go-ipfs. Fixes ipfs#1283 License: MIT Signed-off-by: Dan Ordille <dordille@gmail.com>
This allows the chunking algorithm, and options to be specified when using the adding files. Specifying chunker and options are identical to go-ipfs and support the following formats: default, size-{size}, rabin, rabin-{avg}, rabin-{min}-{avg}-{max} This is required to achieve parity with go-ipfs. Fixes ipfs#1283 License: MIT Signed-off-by: Dan Ordille <dordille@gmail.com>
⚡️ A tip worth 0.40000 ETH (106.31 USD @ $265.77/ETH) has been granted to @dordille for this issue from @vs77bb. ⚡️ Nice work @dordille! To redeem your tip, login to Gitcoin at https://gitcoin.co/explorer and select 'Claim Tip' from dropdown menu in the top right, or check your email for a link to the tip redemption page.
|
Issue Status: 1. Open 2. Started 3. Submitted 4. Done The funding of 0.4 ETH (106.31 USD @ $265.77/ETH) attached to this issue has been approved & issued.
|
Hi @dordille great work here. We tipped you for your work via the Gitcoin bounty which was posted on the issue 🙂 |
This allows the chunking algorithm, and options to be specified when using the adding files. Specifying chunker and options are identical to go-ipfs and support the following formats: default, size-{size}, rabin, rabin-{avg}, rabin-{min}-{avg}-{max} This is required to achieve parity with go-ipfs. Fixes ipfs#1283 License: MIT Signed-off-by: Dan Ordille <dordille@gmail.com>
This allows the chunking algorithm, and options to be specified when using the adding files. Specifying chunker and options are identical to go-ipfs and support the following formats: default, size-{size}, rabin, rabin-{avg}, rabin-{min}-{avg}-{max} This is required to achieve parity with go-ipfs. Fixes #1283 License: MIT Signed-off-by: Dan Ordille <dordille@gmail.com>
For feature parity with go-ipfs
ipfs/notes#1
The text was updated successfully, but these errors were encountered: