- 22 Apr, 2020 1 commit
-
-
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
-
- 24 Mar, 2020 1 commit
-
-
Steven Allen authored
This makes it easier to tell where module boundaries are.
-
- 16 Mar, 2020 1 commit
-
-
Dirk McCormick authored
-
- 13 Mar, 2020 1 commit
-
-
Dirk McCormick authored
-
- 12 Feb, 2020 1 commit
-
-
Steven Allen 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
-
- 20 Aug, 2019 1 commit
-
-
Dirk McCormick authored
-
- 10 Jun, 2019 1 commit
-
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
- 31 May, 2019 1 commit
-
-
Raúl Kripalani authored
-
- 26 Apr, 2019 1 commit
-
-
Steven Allen authored
And remove all locks.
-
- 21 Feb, 2019 1 commit
-
-
Steven Allen authored
-
- 20 Feb, 2019 4 commits
-
-
Steven Allen authored
We allocate a _lot_ of these.
-
hannahhoward authored
Seperate want list into differentiated types - session tracking and regular fix #13
-
hannahhoward authored
Breakup Startup function so that wantlists are not sent with each call to SendMessage
-
hannahhoward authored
fix race conditions while setting up wantlists by creating peer queues on demand BREAKING CHANGE: PeerManager SendMessage signature changed fix #51
-
- 22 Jan, 2019 1 commit
-
-
Steven Allen authored
Also, buffer single-use channels we may walk away from. This was showing up (rarely) in a go-ipfs test.
-
- 11 Dec, 2018 3 commits
-
-
-
hannahhoward authored
Finishing adding comments to WantManager and PeerManager, refactor message structure for type safety, add sending messages test
-
hannahhoward authored
Seperates the functions of tracking wants from tracking peers Unit tests for both peer manager and want manager Refactor internals of both to address synchonization issues discovered in tests
-
- 04 Dec, 2018 1 commit
-
-
hannahhoward authored
Extract session manager from bitswap Extract session manager & want manager to package Move want manager message queue to seperate file Move Message Queue to subpackage Respond to PR Comments
-