Skip to content

Commit 72c321a

Browse files
committed
Minor update
1 parent 8e9e8bb commit 72c321a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beyond-bitswap/rfc/rfcBBL203A.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Some of the compression approaches to be explored in this RFC are:
3636

3737
- [x] Evaluate the compression of blocks only (`bs.compressionStrategy = "blocks"`): We compress each block before adding it to the message in [nextEnvelope](https://github.com/adlrocha/go-bitswap/blob/d151875a94048c3db59de52b9cb99d0246d74613/internal/decision/engine.go#L469) function of engine.go, and then uncompress them in [ReceiveMessage](https://github.com/adlrocha/go-bitswap/blob/d151875a94048c3db59de52b9cb99d0246d74613/bitswap.go#L458) from bitswap.go. For the compression of blocks, the only thing that is changed for the transmission of the block is the RawData, the CID is kept without change so the block is conveniently identified. It required several changes over unit tests.
3838

39-
- [ ] Use [GZip](https://golang.org/pkg/compress/gzip/) as the default compression algorithm (`engine.compressor = "Gzip"`).
39+
- [x] Use [GZip](https://golang.org/pkg/compress/gzip/) as the default compression algorithm (`engine.compressor = "Gzip"`).
4040

4141
- [ ] Evaluate other compression algorithms (Brotli and gzip are the best alternative, but in case we want to test with other algorithms):
4242

0 commit comments

Comments
 (0)