Commit Graph

211 Commits (0378dc8367e529bb95403741af62b7911efd8a2c)

Author SHA1 Message Date
lightclient 00294e9d28
cmd/utils,p2p: enable discv5 by default (#30327) 1 month ago
Daniel Knopik de6d597679
p2p/discover: schedule revalidation also when all nodes are excluded (#30239) 2 months ago
Felix Lange ad49c708f5
p2p/discover: remove type encPubkey (#30172) 2 months ago
Halimao a71f6f91fd
p2p/discover: improve flaky revalidation tests (#30023) 3 months ago
Gealber Morales 349fcdd22d
p2p/discover: add missing lock when calling tab.handleAddNode (#29960) 3 months ago
Felix Lange 85459e1439
p2p/discover: unwrap 4-in-6 UDP source addresses (#29944) 4 months ago
Felix Lange bc6569462d
p2p: use netip.Addr where possible (#29891) 4 months ago
Felix Lange 94a8b296e4
p2p/discover: refactor node and endpoint representation (#29844) 4 months ago
lightclient cc22e0cdf0
p2p/discover: fix update logic in handleAddNode (#29836) 4 months ago
Felix Lange af0a3274be
p2p/discover: fix crash when revalidated node is removed (#29864) 4 months ago
gitglorythegreat 64b1cd8aaf
p2p: fix typos (#29828) 4 months ago
Felix Lange 6a9158bb1b
p2p/discover: improved node revalidation (#29572) 4 months ago
Kiarash Hajian 905e325cd8
p2p/discover/v5wire: add tests for invalid handshake and auth data size (#29708) 5 months ago
Undefinedor a13b92524d
eth/protocols/eth,p2p/discover: remove unnecessary checks (#29590) 5 months ago
bugmaker9371 98f504f69f
p2p/discover: fix test error messages (#29592) 5 months ago
cui 9dfe728909
p2p/discover: using slices.Contains (#29395) 6 months ago
Aaron Chen 723b1e36ad
all: fix mismatched names in comments (#29348) 6 months ago
Martin HS 14cc967d19
all: remove dependency on golang.org/exp (#29314) 6 months ago
Martin HS 14eb8967be
all: use min/max/clear from go1.21 (#29307) 6 months ago
yzb db4cf69166
all: replace fmt.Errorf() with errors.New() if no param required (#29126) 7 months ago
zoereco 2ab365f6d8
all: fix docstring names (#28923) 8 months ago
Felix Lange 5b22a472d6
p2p/discover: add liveness check in collectTableNodes (#28686) 9 months ago
Martin Holst Swende b8d44ed98b
log: remove lazy, remove unused interfaces, unexport methods (#28622) 10 months ago
jwasinger 28e7371701
all: replace log15 with slog (#28187) 10 months ago
Felix Lange 9b46986edc
all: use rlp.DecodeBytes instead of rlp.Decode where possible (#27994) 1 year ago
Péter Szilágyi be65b47645
all: update golang/x/ext and fix slice sorting fallout (#27909) 1 year ago
Felix Lange a426999fc9
p2p/discover: filter bootnodes by netrestrict (#27701) 1 year ago
lightclient cbf2579691
p2p, p2p/discover: add dial metrics (#27621) 1 year ago
Exca-DK 5520cd97a1
p2p/discover: swap verification order in discv4 ping handler (#27532) 1 year ago
Dan Laine 289c6c3b15
p2p: use slices package for sorting (#27494) 1 year ago
Felix Lange ac86547b01
p2p/discover: add Table configuration and Nodes method (#27387) 1 year ago
ucwong ae7db289b8
p2p: initialize maps with known size (#27229) 1 year ago
Martin Holst Swende 7d1ebe51b7
p2p/discover: fix lint nit (#27206) 1 year ago
ucwong a865e28f28
p2p/discover : typo (#27193) 1 year ago
Felix Lange 47cdea5ac5
p2p/discover: concurrent TALKREQ handling (#27112) 1 year ago
Exca-DK f8f95346f9
p2p/discover: add traffic metrics (#27008) 1 year ago
Martin Holst Swende eca3d39c31
p2p/discover: pass invalid discv5 packets to Unhandled channel (#26699) 2 years ago
Martin Holst Swende 4d3525610e
all: remove deprecated uses of math.rand (#26710) 2 years ago
Felix Lange a251bca67c
p2p/discover: add more packet information in logs (#26307) 2 years ago
zhiqiangxu a9dfac0332
p2p/discover: improve nodesByDistance.push code (#26019) 2 years ago
RichΛrd c1aa1db69e
p2p/discover: add config option for discv5 protocol ID (#26041) 2 years ago
Felix Lange 9afc6816d2
common/lru: add generic LRU implementation (#26162) 2 years ago
Felix Lange 9027ee0b45
p2p/discover: improve discv5 NODES response packing (#26033) 2 years ago
Justin Traglia 621b423ac1
p2p/discover: fix handling of distance 256 in lookupDistances (#26087) 2 years ago
Martin Holst Swende ee301c750b
all: fix docstrings 2 years ago
Boqin@MetaSecureLabs e6d4aedb8c
p2p: add channel buffers to avoid goroutine leaks in tests (#24929) 2 years ago
Seungbae Yu 0c1888a367
p2p/discover/v5wire: reject packets smaller than 63 bytes (#25740) 2 years ago
Felix Lange b628d72766
build: upgrade to go 1.19 (#25726) 2 years ago
Abirdcfly c394c308e6
all: remove duplicate word in comments (#25618) 2 years ago
Justin Traglia 2c5648d891
all: fix some typos (#25551) 2 years ago