Skip to content

Conversation

@dmitry-markin
Copy link
Collaborator

@dmitry-markin dmitry-markin commented Jan 9, 2026

As we now have both Bitswap server & client implementation, we can add an end-to-end test.

This PR also makes sure the maximum allowed block size of 2 MiB is supported.

@dmitry-markin dmitry-markin requested a review from lexnv January 9, 2026 12:51
@dmitry-markin dmitry-markin self-assigned this Jan 9, 2026
@dmitry-markin dmitry-markin changed the title bitswap: e2e test bitswap: e2e test & max payload fix Jan 9, 2026
Copy link
Collaborator

@lexnv lexnv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@dmitry-markin dmitry-markin merged commit 6d1e880 into master Jan 12, 2026
8 checks passed
@dmitry-markin dmitry-markin deleted the dm-bitswap-e2e branch January 12, 2026 14:23
@github-project-automation github-project-automation bot moved this to Blocked ⛔️ in Networking Jan 12, 2026
dmitry-markin added a commit that referenced this pull request Jan 21, 2026
## [0.13.0] - 2026-01-21

This release brings multiple fixes to both the transport and
application-level protocols.

Specifically, it enhances WebSocket stability by resolving AsyncWrite
errors and ensuring that partial writes during the negotiation phase no
longer trigger connection failures.

At the same time, Bitswap client functionality is introduced, which
makes this release semver breaking.

### Added

- Add Bitswap client
([#501](#501))

### Fixed

- notif/fix: Avoid CPU busy loops on litep2p full shutdown
([#521](#521))
- protocol: Ensure transport manager knows about closed connections
([#515](#515))
- substream: Decrement the bytes counter to avoid excessive flushing
([#511](#511))
- crypto/noise: Improve stability of websockets by fixing AsyncWrite
implementation ([#518](#518))
- bitswap: Split block responses into batches under 2 MiB
([#516](#516))
- crypto/noise: Fix connection negotiation logic on partial writes
([#519](#519))
- substream/fix: Fix partial reads for ProtocolCodec::Identity
([#512](#512))
- webrtc: Avoid panics returning error instead
([#509](#509))
- bitswap: e2e test & max payload fix
([#508](#508))
- tcp: Exit connections when events fail to propagate to protocols
([#506](#506))
- webrtc: Avoid future being dropped when channel is full
([#483](#483))

---------

Co-authored-by: Alexandru Vasile <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Blocked ⛔️

Development

Successfully merging this pull request may close these issues.

3 participants