Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipfs bitswap wantlist #7284

Open
dirkmc opened this issue May 7, 2020 · 0 comments
Open

ipfs bitswap wantlist #7284

dirkmc opened this issue May 7, 2020 · 0 comments
Labels
kind/enhancement A net-new feature or improvement to an existing feature

Comments

@dirkmc
Copy link
Contributor

dirkmc commented May 7, 2020

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=<peer> reports the wants that Bitswap has received from that peer: "blocks that <peer> 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)
@dirkmc dirkmc added the kind/enhancement A net-new feature or improvement to an existing feature label May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A net-new feature or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant