Skip to content

bitswap_unstable: stream added#186

Merged
michalkucharczyk merged 11 commits into
mainfrom
mku-bitswap-stream
Jun 4, 2026
Merged

bitswap_unstable: stream added#186
michalkucharczyk merged 11 commits into
mainfrom
mku-bitswap-stream

Conversation

@michalkucharczyk
Copy link
Copy Markdown
Contributor

@michalkucharczyk michalkucharczyk commented May 7, 2026

This PR adds: bitswap_unstable_stream

...and renames bitswap_v1_get to bitswap_unstable_get

Comment thread src/api/bitswap_v1_getMany.md Outdated
Comment thread src/api/bitswap_v1_getMany.md Outdated
michalkucharczyk and others added 2 commits May 11, 2026 10:18
Co-authored-by: Branislav Kontur <bkontur@gmail.com>
Comment thread src/api/bitswap.md Outdated
Comment thread src/api/bitswap_v1_stream.md Outdated
Comment thread src/api/bitswap.md Outdated
Comment thread src/api/bitswap.md Outdated
Comment thread src/api/bitswap_v1_getMany.md Outdated
Comment thread src/api/bitswap_v1_stream.md Outdated
Comment thread src/api/bitswap_v1_getMany.md Outdated
Comment thread src/api/bitswap.md Outdated
@michalkucharczyk michalkucharczyk changed the title bitswap_v1: stream and getMany added bitswap_unstable: stream added May 14, 2026
lexnv
lexnv previously approved these changes May 14, 2026
Copy link
Copy Markdown
Contributor

@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.

LGTM!

Comment thread src/api/bitswap.md Outdated
Comment thread src/api/bitswap_unstable_get.md
dmitry-markin
dmitry-markin previously approved these changes May 22, 2026
Comment thread src/api/bitswap_unstable_get.md Outdated
Co-authored-by: Dmitry Markin <dmitry@markin.tech>
@michalkucharczyk michalkucharczyk dismissed stale reviews from dmitry-markin and lexnv via 7b4f954 May 25, 2026 10:00
@dmitry-markin
Copy link
Copy Markdown
Contributor

Actually, I don't think we should remove bitswap_v1_get. Polkadot app is likely already using it.

Introducing bitswap_unstable_get also can be postponed until we have to break bitswap_v1_get.

Co-authored-by: Dmitry Markin <dmitry@markin.tech>
@michalkucharczyk
Copy link
Copy Markdown
Contributor Author

michalkucharczyk commented May 25, 2026

Actually, I don't think we should remove bitswap_v1_get. Polkadot app is likely already using it.

Introducing bitswap_unstable_get also can be postponed until we have to break bitswap_v1_get.

Alias will be kept - so bitswap_v1_get method will be working.
I also discussed it with @bkontur - app shall be updated, we still should have time to do it.

@lexnv
Copy link
Copy Markdown
Contributor

lexnv commented May 25, 2026

Alias will be kept - so bitswap_v1_get method will be working.
I also discussed it with @bkontur - app shall be updated, we still should have time to do it.

Perfect, ideally once we are sure the RPC method is stable (ie, no further modifications like changing / removing / adding hashig types and battle tested to gain feedback), we can turn this into a stable_v1 🙏

Copy link
Copy Markdown
Contributor

@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.

LGTM! Thanks for tackling the event formats for the steam implementation 🙏

@michalkucharczyk michalkucharczyk merged commit 479c649 into main Jun 4, 2026
5 checks passed
@michalkucharczyk michalkucharczyk deleted the mku-bitswap-stream branch June 4, 2026 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants