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

feat: ipfs bitswap command #437

Closed
mappum opened this issue Dec 10, 2014 · 3 comments
Closed

feat: ipfs bitswap command #437

mappum opened this issue Dec 10, 2014 · 3 comments
Labels
exp/novice Someone with a little familiarity can pick up help wanted Seeking public contribution on this issue topic/bitswap Topic bitswap topic/commands Topic commands

Comments

@mappum
Copy link
Contributor

mappum commented Dec 10, 2014

We're going to need to create the ipfs bitswap command.

Subcommands:

  • ipfs bitswap wantlist [<peer>] - Displays a peer's wantlist, or our own if no peer provided
  • ipfs bitswap ledger <peer> - Displays ledger info for a peer (debt ratio, amount of data exchanged, etc, could have a subcommand to reset a ledger or manually set values)
  • ipfs bitswap strategy - Displays some info about the strategy in use (could have subcommands to adjust strategy settings)
    Webui Features #415 depends on this
@mappum mappum added the help wanted Seeking public contribution on this issue label Dec 10, 2014
@btc
Copy link
Contributor

btc commented Dec 10, 2014

👍

(in the short term) We'll probably want to punt on exposing information about strategy. The interface is too unstable to take on dependents.

@daviddias
Copy link
Member

daviddias commented Jan 2, 2016

Currently, we have:

$ ipfs bitswap --help

    ipfs bitswap - A set of commands to manipulate the bitswap agent

SUBCOMMANDS:

    ipfs bitswap stat            - show some diagnostic information on the bitswap agent
    ipfs bitswap unwant <key>... - Remove a given block from your wantlist
    ipfs bitswap wantlist        - Show blocks currently on the wantlist

    Use 'ipfs bitswap <subcmd> --help' for more information about each command.

Currently ipfs bitswap <peerId> is behind the -p flag (ipfs bitswap -p )

Still missing:

  • ipfs bitswap ledger - Displays ledger info for a peer (debt ratio, amount of data exchanged, etc, could have a subcommand to reset a ledger or manually set values)
  • ipfs bitswap strategy - Displays some info about the strategy in use (could have subcommands to adjust strategy settings)

@daviddias daviddias removed the icebox label Jan 2, 2016
@daviddias daviddias changed the title ipfs bitswap command Feat: ipfs bitswap command Jan 2, 2016
@daviddias daviddias changed the title Feat: ipfs bitswap command feat: ipfs bitswap command Jan 2, 2016
@RichardLitt RichardLitt added exp/novice Someone with a little familiarity can pick up and removed difficulty: easy labels Feb 2, 2016
@daviddias daviddias added exp/expert Having worked on the specific codebase is important exp/novice Someone with a little familiarity can pick up and removed exp/novice Someone with a little familiarity can pick up exp/expert Having worked on the specific codebase is important labels Mar 1, 2016
@RichardLitt RichardLitt added help wanted Seeking public contribution on this issue and removed help wanted Seeking public contribution on this issue labels May 31, 2016
@whyrusleeping
Copy link
Member

I think we can close this, once we actually have bitswap strategies we can worry about a bitswap strategy subcommand

@aschmahmann aschmahmann mentioned this issue Feb 18, 2021
73 tasks
ariescodescream pushed a commit to ariescodescream/go-ipfs that referenced this issue Oct 23, 2021
…com/libp2p/go-libp2p-0.5.1

build(deps): bump github.com/libp2p/go-libp2p from 0.5.0 to 0.5.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exp/novice Someone with a little familiarity can pick up help wanted Seeking public contribution on this issue topic/bitswap Topic bitswap topic/commands Topic commands
Projects
None yet
Development

No branches or pull requests

7 participants