- 12 May, 2020 1 commit
-
-
Aarsh Shah authored
* reduce allocs while adding peer
-
- 11 May, 2020 1 commit
-
-
Aarsh Shah authored
* nPeerForCpl and collapse empty buckets
-
- 09 Apr, 2020 3 commits
-
-
Steven Allen authored
-
Aarsh Shah authored
-
Aarsh Shah authored
-
- 05 Apr, 2020 1 commit
-
-
Steven Allen authored
To determine how many buckets we should refresh, we: 1. Look at the max bucket. 2. Look at the peer with the greatest common prefix in the max bucket. 3. Return the "last refresh" times for all buckets between 0 and `min(maxPeer, 15)` BREAKING: this returns a slice of times instead of CplRefresh objects because we want to refresh _all_ buckets between 0 and the max CPL.
-
- 02 Apr, 2020 5 commits
-
-
Aarsh Shah authored
-
Aarsh Shah authored
-
Steven Allen authored
This reverts an optimization where we fudged the closer peers when returning responses to users when we were within a power of two to the target.
-
Aarsh Shah authored
* cache the XOR DHT ID for a peerId
-
Aarsh Shah authored
* Routing Table refactor for new management logic
-
- 19 Mar, 2020 1 commit
-
-
Aarsh Shah authored
-
- 13 Mar, 2020 1 commit
-
-
Aarsh Shah authored
-
- 28 Feb, 2020 1 commit
-
-
Aarsh Shah authored
-
- 27 Feb, 2020 3 commits
-
-
Aarsh Shah authored
-
Aarsh Shah authored
-
Aarsh Shah authored
-
- 20 Feb, 2020 1 commit
-
-
Aarsh Shah authored
-
- 19 Feb, 2020 1 commit
-
-
Aarsh Shah authored
-
- 18 Feb, 2020 1 commit
-
-
Aarsh Shah authored
-
- 17 Feb, 2020 1 commit
-
-
Aarsh Shah authored
-
- 14 Feb, 2020 1 commit
-
-
Aarsh Shah authored
-
- 16 Dec, 2019 2 commits
-
-
Aarsh Shah authored
-
Aarsh Shah authored
-
- 12 Dec, 2019 2 commits
-
-
Aarsh Shah authored
-
Aarsh Shah authored
-
- 11 Dec, 2019 3 commits
-
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
The neighbors may _also_ be empty or low. This can cause peers with a low number of peers in their routing table to fail to find _any_ peers in their routing table.
-
- 29 Aug, 2019 1 commit
-
-
Aarsh Shah authored
-
- 24 Aug, 2019 1 commit
-
-
aarshkshah1992 authored
-
- 20 Aug, 2019 3 commits
-
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
- 19 Aug, 2019 1 commit
-
-
Aarsh Shah authored
-
- 11 Aug, 2019 1 commit
-
-
Aarsh Shah authored
-
- 10 Aug, 2019 3 commits
-
-
Aarsh Shah authored
-
Aarsh Shah authored
-
Aarsh Shah authored
-
- 26 May, 2019 1 commit
-
-
Raúl Kripalani authored
-