Skip to content

feat: ipfs bitswap command #437

Closed
Closed
@mappum

Description

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

Activity

btc

btc commented on Dec 10, 2014

@btc
Contributor

👍

(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

daviddias commented on Jan 2, 2016

@daviddias
Member

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)
changed the title `ipfs bitswap` command Feat: `ipfs bitswap` command on Jan 2, 2016
changed the title Feat: `ipfs bitswap` command feat: `ipfs bitswap` command on Jan 2, 2016
added
exp/noviceSomeone with a little familiarity can pick up
and removed on Feb 2, 2016
added
exp/expertHaving worked on the specific codebase is important
exp/noviceSomeone with a little familiarity can pick up
and removed
exp/noviceSomeone with a little familiarity can pick up
on Mar 1, 2016

8 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    exp/noviceSomeone with a little familiarity can pick uphelp wantedSeeking public contribution on this issuetopic/bitswapTopic bitswaptopic/commandsTopic commands

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      feat: `ipfs bitswap` command · Issue #437 · ipfs/kubo