- 20 Feb, 2019 23 commits
-
-
Steven Allen authored
Each one is about 4 words wide (two for the CID, one for the priority, one for the trash flag).
-
Steven Allen authored
We allocate a _lot_ of these.
-
Steven Allen authored
More specific wantlists
-
hannahhoward authored
put trash field only where it is needed, in peer request queues
-
hannahhoward authored
Seperate want list into differentiated types - session tracking and regular fix #13
-
Steven Allen authored
fix(wantlist): remove races on setup
-
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
Limit retrying sending of a message even when a successful reconnect occurs
-
hannahhoward authored
fix race conditions while setting up wantlists by creating peer queues on demand BREAKING CHANGE: PeerManager SendMessage signature changed fix #51
-
Steven Allen authored
fix multiple data races
-
Steven Allen authored
Ensures that we don't leave goroutines behind, even if the client forgets to unsubscribe.
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
Calling `wg.Add` after `wg.Wait` has returned is invalid. This change swaps the wait group for a plain rwmutex. (caught with the race detector)
-
Steven Allen authored
ci: add travis
-
Steven Allen authored
Jenkins is EOL at this point.
-
- 18 Feb, 2019 2 commits
-
-
Jakub Sztandera authored
-
Jakub Sztandera authored
-
- 07 Feb, 2019 1 commit
-
-
Steven Allen authored
-
- 06 Feb, 2019 1 commit
-
-
Hannah Howard authored
providers: don't add every connected node as a provider
-
- 05 Feb, 2019 5 commits
-
-
Steven Allen authored
We now do exactly what the comment is warning about: track peers providing keys.
-
Hannah Howard authored
refactor(GetBlocks): Merge session/non-session
-
hannahhoward authored
Make Bitswap GetBlocks just create a temporary session and use that code fix #52 fix #49
-
Hannah Howard authored
Feat: A more robust provider finder for sessions (for now) and soon for all bitswap
-
hannahhoward authored
Keep channels unblocked in cancelling request -- refactored to function. Also cancel find provider context as soon as it can be.
-
- 04 Feb, 2019 3 commits
-
-
hannahhoward authored
Make sure if all requestors cancel their request to find providers on a peer, the overall query gets cancelled
-
hannahhoward authored
-
hannahhoward authored
removed session id user completely from providerquerymanager
-
- 30 Jan, 2019 5 commits
-
-
hannahhoward authored
Removed a minor condition check that could fail in some cases just due to timing, but not a code issue
-
hannahhoward authored
Add debug logging for the provider query manager and make tests more reliable
-
hannahhoward authored
Integrate the ProviderQueryManager into the SessionPeerManager and bitswap in general re #52, re #49
-
hannahhoward authored
Add functionality to timeout find provider requests so they don't run forever
-
hannahhoward authored
Add a manger for querying providers on blocks, in charge of managing requests, deduping, and rate limiting
-