- 21 Feb, 2019 7 commits
-
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
fix(bitswap): remove CancelWants function
-
Steven Allen authored
Avoid allocating for wantlist entries
-
Steven Allen authored
ci(Jenkins): remove Jenkinsfile
-
hannahhoward authored
Jenkins is EOL as the CI so remove Jenkinsfile to disable it
-
Steven Allen authored
-
- 20 Feb, 2019 24 commits
-
-
Steven Allen authored
Fixes #50.
-
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.
-