1. 10 Jun, 2020 3 commits
  2. 02 Jun, 2020 1 commit
    • dirkmc's avatar
      Total wants gauge (#402) · 88373cd4
      dirkmc authored
      * feat: total wants gauge
      
      * fix: in gauges count wants regardless of which peers they're sent to
      
      * fix: want block gauge calculation
      
      * refactor: simplify peermanagerwants
      88373cd4
  3. 21 May, 2020 1 commit
  4. 20 May, 2020 1 commit
  5. 19 May, 2020 1 commit
  6. 22 Apr, 2020 1 commit
    • Steven Allen's avatar
      feat: move broadcast wantlist into the peermanager (#365) · 2a033735
      Steven Allen authored
      * feat: small optimizations
      
      * feat: move broadcast wantlist into the peermanager
      
      This deduplicates some state and allows us to do less book-keeping for broadcast
      wants. We should probably rename the PeerManager to the WantManager and rename the
      WantManager to something else.
      
      * fix: lint warnings
      2a033735
  7. 21 Apr, 2020 1 commit
  8. 03 Apr, 2020 1 commit
  9. 24 Mar, 2020 2 commits
  10. 16 Mar, 2020 1 commit
  11. 13 Mar, 2020 1 commit
  12. 30 Jan, 2020 2 commits
    • Steven Allen's avatar
      feat: move internals to an internal package · bbf65296
      Steven Allen authored
      This makes reading the docs much easier as it's clear what's "private" and
      what's not.
      
      fixes #238
      bbf65296
    • dirkmc's avatar
      feat: bitswap protocol extensions · b3a47bcf
      dirkmc authored
      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: https://github.com/ipfs/go-bitswap/issues/186
      b3a47bcf