- 29 Apr, 2020 1 commit
-
-
Dirk McCormick authored
-
- 27 Apr, 2020 1 commit
-
-
Hector Sanjuan authored
-
- 23 Apr, 2020 8 commits
-
-
Steven Allen authored
refactor: remove WantManager
-
Steven Allen authored
Send CANCELs when session context is cancelled
-
Dirk McCormick authored
-
Dirk McCormick authored
-
Dirk McCormick authored
-
Steven Allen authored
refactor: remove unused code
-
Dirk McCormick authored
-
Steven Allen authored
Change timing for DONT_HAVE timeouts to be more conservative
-
- 22 Apr, 2020 4 commits
-
-
Dirk McCormick authored
-
Steven Allen authored
fix: avoid calling ctx.SetDeadline() every time we send a message
-
Dirk McCormick authored
-
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
-
- 21 Apr, 2020 3 commits
-
-
dirkmc authored
* refactor: add reverse index to peerWantManager to speed up cancels * refactor: in peerWantManager use ForEach instead of allocating lists
-
Steven Allen authored
-
Steven Allen authored
* fix: minimize time holding wantlist lock Instead of holding the lock the entire time we prepare a message, hold the lock while we retrieve the wantlist entries, process the entries without the lock, retake the lock, then mark entries as sent. This means: 1. We never sort entries while holding the lock. 2. We allocate exactly three times while holding the lock (once per entry list). * fix: address code review
-
- 20 Apr, 2020 1 commit
-
-
Steven Allen authored
feat: optimize entry sorting in MessageQueue
-
- 18 Apr, 2020 1 commit
-
-
Steven Allen authored
Move connection management into networking layer
-
- 17 Apr, 2020 10 commits
-
-
Dirk McCormick authored
-
Dirk McCormick authored
-
Dirk McCormick authored
-
Dirk McCormick authored
-
Steven Allen authored
There's no reason to launch this async.
-
Dirk McCormick authored
-
Dirk McCormick authored
-
Dirk McCormick authored
-
Dirk McCormick authored
-
Dirk McCormick authored
-
- 16 Apr, 2020 4 commits
-
-
Dirk McCormick authored
-
Dirk McCormick authored
-
Dirk McCormick authored
-
Dirk McCormick authored
-
- 15 Apr, 2020 3 commits
-
-
Dirk McCormick authored
-
Dirk McCormick authored
-
Dirk McCormick authored
-
- 14 Apr, 2020 1 commit
-
-
Steven Allen authored
Instead of copying these slices, we can just reuse them.
-
- 13 Apr, 2020 3 commits
-
-
Steven Allen authored
refactor: simplify messageQueue onSent
-
Dirk McCormick authored
-
Dirk McCormick authored
-