ipfs / ipfs/kubo

ipfs bitswap wantlist

Open
#7,284 0 comments 2 reactions 0 assignees View on GitHub
kind/enhancement
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

`ipfs bitswap wantlist` reports different things depending on whether the user passes the `--peer` parameter:
- `ipfs bitswap wantlist` reports the wants that Bitswap has _sent_ to all peers (and has not received a response yet): "blocks that I want from my peers"
- `ipfs bitswap wantlist --peer=` reports the wants that Bitswap has _received_ from that peer: "blocks that `` wants from me"

I'd suggest that we add subcommands that are unambiguous:
- `ipfs bitswap sent-wants` (with optional `--peer` parameter)
- `ipfs bitswap received-wants` (with optional `--peer` parameter)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.