Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

PoC of Bitswap protocol extensions implementation #189

Merged
merged 1 commit into from
Jan 30, 2020

Commits on Jan 30, 2020

  1. feat: bitswap protocol extensions

    This commit extends the bitswap protocol with two additional wantlist properties:
    
    * WANT_HAVE/HAVE: Instead of asking for a block, a node can specify that they
      want to know if any peers "have" the block.
    * WANT_HAVE_NOT/HAVE_NOT: Instead of waiting for a timeout, a node can explicitly
      request to be told immediately if their peers don't currently have the given
      block.
    
    Additionally, nodes now tell their peers how much data they have queued to send
    them when sending messages. This allows peers to better distribute requests,
    keeping all peers busy but not overloaded.
    
    Changes in this PR are described in: #186
    dirkmc authored and Stebalien committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    b3a47bc View commit details
    Browse the repository at this point in the history