- 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
-
- 15 Apr, 2020 1 commit
-
-
Dirk McCormick authored
-
- 24 Mar, 2020 2 commits
-
-
Dirk McCormick authored
-
Steven Allen authored
This makes it easier to tell where module boundaries are.
-
- 16 Mar, 2020 1 commit
-
-
Steven Allen authored
And expose a separate function for _just_ getting want-blocks. When the user runs `ipfs bitswap wantlist`, they expect to see everything the node is currently looking for. Co-Authored-By: dirkmc <dirkmdev@gmail.com>
-
- 31 Jan, 2020 1 commit
-
-
Dirk McCormick 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
-
- 23 Jul, 2019 1 commit
-
-
ZenGround0 authored
-
- 31 May, 2019 1 commit
-
-
Raúl Kripalani authored
-
- 29 Apr, 2019 1 commit
-
-
Steven Allen authored
-
- 26 Apr, 2019 1 commit
-
-
Steven Allen authored
And remove all locks.
-
- 21 Feb, 2019 1 commit
-
-
Steven Allen authored
-
- 20 Feb, 2019 9 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
fix remaining issues for race detector in peer manager
-
hannahhoward authored
Keep all of disconnection in a mutex
-
hannahhoward authored
repace get/set with getOrCreate to keep operations atomic
-
hannahhoward authored
Constrain use of mutex to actual operations on the peerQueues map via utility functions
-
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
-
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
-