Commit Graph

204 Commits (s1na-patch-2)

Author SHA1 Message Date
Felix Lange 94a8b296e4
p2p/discover: refactor node and endpoint representation (#29844) 6 months ago
lightclient cc22e0cdf0
p2p/discover: fix update logic in handleAddNode (#29836) 6 months ago
Felix Lange af0a3274be
p2p/discover: fix crash when revalidated node is removed (#29864) 6 months ago
gitglorythegreat 64b1cd8aaf
p2p: fix typos (#29828) 6 months ago
Felix Lange 6a9158bb1b
p2p/discover: improved node revalidation (#29572) 6 months ago
Kiarash Hajian 905e325cd8
p2p/discover/v5wire: add tests for invalid handshake and auth data size (#29708) 7 months ago
Undefinedor a13b92524d
eth/protocols/eth,p2p/discover: remove unnecessary checks (#29590) 7 months ago
bugmaker9371 98f504f69f
p2p/discover: fix test error messages (#29592) 7 months ago
cui 9dfe728909
p2p/discover: using slices.Contains (#29395) 8 months ago
Aaron Chen 723b1e36ad
all: fix mismatched names in comments (#29348) 8 months ago
Martin HS 14cc967d19
all: remove dependency on golang.org/exp (#29314) 8 months ago
Martin HS 14eb8967be
all: use min/max/clear from go1.21 (#29307) 8 months ago
yzb db4cf69166
all: replace fmt.Errorf() with errors.New() if no param required (#29126) 9 months ago
zoereco 2ab365f6d8
all: fix docstring names (#28923) 10 months ago
Felix Lange 5b22a472d6
p2p/discover: add liveness check in collectTableNodes (#28686) 11 months ago
Martin Holst Swende b8d44ed98b
log: remove lazy, remove unused interfaces, unexport methods (#28622) 12 months ago
jwasinger 28e7371701
all: replace log15 with slog (#28187) 1 year 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) 2 years ago
ucwong ae7db289b8
p2p: initialize maps with known size (#27229) 2 years ago
Martin Holst Swende 7d1ebe51b7
p2p/discover: fix lint nit (#27206) 2 years ago
ucwong a865e28f28
p2p/discover : typo (#27193) 2 years ago
Felix Lange 47cdea5ac5
p2p/discover: concurrent TALKREQ handling (#27112) 2 years ago
Exca-DK f8f95346f9
p2p/discover: add traffic metrics (#27008) 2 years 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
Ha ĐANG a9ef135e2d
p2p/discover: apply netrestrict in discv5 response handler (#25304) 2 years ago
Seungbae.yu b3fc9574ec
p2p/discover: fix typos in comments (#25272) 2 years ago
Håvard Anda Estensen 138f0d7494
p2p: use errors.Is for error comparison (#24882) 3 years ago
Martin Holst Swende 403624a4a1
p2p/discover: fix panicky test (#25038) 3 years ago
Felix Lange 9244d5cd61
all: update license headers and AUTHORS from git history (#24947) 3 years ago
Håvard Anda Estensen 07508ac0e9
all: replace uses of ioutil with io and os (#24869) 3 years ago
Taeik Lim 85064ed09b
all: fix 'the the' in comments (#24036) 3 years ago