1. 22 Aug, 2021 1 commit
  2. 11 Mar, 2020 1 commit
  3. 06 Mar, 2020 2 commits
  4. 12 Feb, 2020 1 commit
  5. 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
  6. 14 Aug, 2019 4 commits
  7. 02 Jul, 2019 1 commit
  8. 22 Jun, 2019 1 commit
  9. 10 May, 2019 2 commits
  10. 19 Dec, 2018 2 commits
  11. 11 Dec, 2018 1 commit
    • hannahhoward's avatar
      refactor(sessions): extract sessions to package · 40aa1fb8
      hannahhoward authored
      - moved sessions out of main bitswap package
      - modified session manager to manage all sessions
      - moved get functions to their own package so sessions can directly
      
      BREAKING CHANGE: SessionsForBlock, while not used outside of Bitswap, has been removed, and was an
      exported function
      40aa1fb8
  12. 14 Nov, 2018 1 commit
    • hannahhoward's avatar
      feat(Benchmarks): Add real world dup blocks test · 39fa3c73
      hannahhoward authored
      - add a delay generator that similates real world latencies one might encounter on the internet
      - modify virtual network to accept different latencies for different
      peers based on using NextWaitTime on passed delay
      - modify dup_blocks_test subtestDistributeAndFetch to accept a custom
      delay
      - Add a real world benchmarks that simulates the kinds of problems one might
      encounter bitswaping with a long lived session and a large swarm of
      peers with real world latency distributions (that causes #8 not to
      function well in practice)
      39fa3c73
  13. 29 Oct, 2018 2 commits