1. 30 Jan, 2020 1 commit
    • 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
  2. 14 Aug, 2019 4 commits
  3. 02 Jul, 2019 1 commit
  4. 22 Jun, 2019 1 commit
  5. 10 May, 2019 2 commits
  6. 19 Dec, 2018 2 commits
  7. 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
  8. 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
  9. 29 Oct, 2018 2 commits