- 17 Apr, 2020 1 commit
-
-
Dirk McCormick authored
-
- 16 Apr, 2020 1 commit
-
-
Dirk McCormick authored
-
- 15 Apr, 2020 1 commit
-
-
Dirk McCormick authored
-
- 14 Apr, 2020 1 commit
-
-
Steven Allen authored
Instead of copying these slices, we can just reuse them.
-
- 13 Apr, 2020 4 commits
-
-
Dirk McCormick authored
-
Dirk McCormick authored
-
Dirk McCormick authored
-
Dirk McCormick authored
-
- 11 Apr, 2020 1 commit
-
-
Steven Allen authored
In case we're sending a _lot_ of wants: * Prioritize cancels. * Then targeted wants. * Finally broadcast wants.
-
- 10 Apr, 2020 1 commit
-
-
Dirk McCormick authored
-
- 26 Mar, 2020 1 commit
-
-
Steven Allen authored
-
- 19 Mar, 2020 3 commits
-
-
Dirk McCormick authored
-
Dirk McCormick authored
-
Dirk McCormick authored
-
- 17 Mar, 2020 2 commits
-
-
Steven Allen authored
-
Steven Allen authored
This removes one goroutine per peer which tends to be a pretty big deal. This brings go-ipfs down from 5.5 to 4.5 goroutines per peer.
-
- 16 Mar, 2020 1 commit
-
-
Dirk McCormick authored
-
- 13 Mar, 2020 1 commit
-
-
Dirk McCormick authored
-
- 10 Mar, 2020 1 commit
-
-
Dirk McCormick authored
-
- 06 Mar, 2020 2 commits
-
-
Dirk McCormick authored
-
Dirk McCormick authored
-
- 02 Mar, 2020 1 commit
-
-
dirkmc authored
* fix: ensure broadcast when peer becomes unavailable and all other peers sent DONT_HAVE for CID * fix: lint warnings * refactor: simplify session want sender DONT_HAVE list * fix: flaky test * test: add session exhausted wants test * docs: improve sessionWantSender processAvailability docs
-
- 13 Feb, 2020 2 commits
-
-
Dirk McCormick authored
-
Steven Allen authored
This: * Makes it easy to send immediately if we wait too long and/or if we have enough to send. * Is significantly more efficient than the debounce library as it doesn't spin off a bunch of "after" timers. fixes #245
-
- 12 Feb, 2020 1 commit
-
-
dirkmc authored
-
- 30 Jan, 2020 2 commits
-
-
Steven Allen authored
This makes reading the docs much easier as it's clear what's "private" and what's not. fixes #238
-
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
-
- 14 Aug, 2019 1 commit
-
-
Steven Allen authored
-
- 31 May, 2019 1 commit
-
-
Raúl Kripalani authored
-
- 05 Apr, 2019 1 commit
-
-
hannahhoward authored
Make sure rebroadcast timer doesn't get reset if it's nil
-
- 04 Apr, 2019 1 commit
-
-
hannahhoward authored
Provide a failsafe to losing wants on other end by rebroadcasting a wantlist every thirty seconds fix #99, fix #65
-
- 12 Mar, 2019 1 commit
-
-
hannahhoward authored
Remove code that should have been cleaned up in last message queue fix
-
- 04 Mar, 2019 1 commit
-
-
hannahhoward authored
Revert to the old go-routine architecture for the messagequeue, which I believe is still compatible w/ wantlist w/o mutex fix #92
-
- 21 Feb, 2019 2 commits
-
-
Steven Allen authored
-
Steven Allen authored
-
- 20 Feb, 2019 5 commits
-
-
hannahhoward authored
Seperate want list into differentiated types - session tracking and regular fix #13
-
hannahhoward authored
Move refcnt tracking from the messagequeue to the peermanager, where it's relevant
-
hannahhoward authored
repace get/set with getOrCreate to keep operations atomic
-
hannahhoward authored
Breakup Startup function so that wantlists are not sent with each call to SendMessage
-
hannahhoward authored
If wantlist changes are present, send them immediately on startup, rather than as a seperate message
-