Commit Graph

663 Commits (61932e47106168a4eeb93ee68211752a25e031c5)

Author SHA1 Message Date
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
joohhnnn b1972627d9
p2p: access embedded fields of Server directly (#27078) 2 years ago
lightclient 2c5798464e
common: delete MakeName (#27023) 2 years ago
Delweng 117530b0e6
metrics/librato: ensure resp.body closed (#26969) 2 years ago
Martin Holst Swende eca3d39c31
p2p/discover: pass invalid discv5 packets to Unhandled channel (#26699) 2 years ago
panicalways 051493d9bf
p2p: small comment typo (#26850) 2 years ago
Martin Holst Swende 4d3525610e
all: remove deprecated uses of math.rand (#26710) 2 years ago
Felix Lange 101587b3f4
p2p/dnsdisc: fix tests with Go 1.20 (#26690) 2 years ago
Shude Li 163e996d0e
all: use http package to replace http method names (#26535) 2 years ago
Felix Lange a251bca67c
p2p/discover: add more packet information in logs (#26307) 2 years ago
Felix Lange 9e6a1c3834
common/mclock: add Alarm (#26333) 2 years ago
zhiqiangxu a9dfac0332
p2p/discover: improve nodesByDistance.push code (#26019) 2 years ago
Seungbae Yu 42212808f0
p2p/nat: handle responses with alternative port in NAT-PMP (#26321) 2 years ago
Sina Mahmoodi f20eba426a
graphql, node, rpc: improve HTTP write timeout handling (#25457) 2 years ago
Håvard Anda Estensen 06632da2bb
all: assign zero after resize in implementations of heap.Interface (#26296) 2 years ago
RichΛrd c1aa1db69e
p2p/discover: add config option for discv5 protocol ID (#26041) 2 years ago
Seungbae Yu 53d1ae096a
p2p/nat: use IP.IsPrivate (#26252) 2 years ago
Felix Lange 9afc6816d2
common/lru: add generic LRU implementation (#26162) 2 years ago
zhiqiangxu 4cb1fca43d
p2p/enode: implement per-source timeout in FairMix (#25962) 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 5a02b2d6d0
all: fix spelling mistakes (#25961) 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
Martin Holst Swende 06151eb581
p2p/msgrate: be more lenient when calculating 'mean' (#25653) 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
Delweng b196ad1c16
all: add whitespace linter (#25312) 2 years ago
Abirdcfly 39900be087
p2p/netutil: minor code cosmetic 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
zeim839 9a5c1000c7
cmd/geth, p2p: add support for custom discovery UDP port (#24979) 2 years ago
lightclient@protonmail.com 0c6f81f888
all: remove version field from rpc.API 2 years ago
Martin Holst Swende a907d7e81a
all: more linters (#24783) 2 years ago
Håvard Anda Estensen 138f0d7494
p2p: use errors.Is for error comparison (#24882) 2 years ago
Martin Holst Swende 403624a4a1
p2p/discover: fix panicky test (#25038) 2 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
s7v7nislands 7caa2d8163
all: replace strings.Replace with string.ReplaceAll (#24835) 3 years ago
Ikko Ashimine 33d7a469f6
p2p/simulations: fix typo in network_test.go (#24824) 3 years ago
ImanSharaf ca8e2f1ecf
p2p/simulations: escape mockerType value from request (#24822) 3 years ago
henopied 63972e7548
p2p: fix type of DiscSubprotocolError (#24747) 3 years ago
Eng Zer Jun 8d066f1f42
all: use T.TempDir to create temporary test directories (#24633) 3 years ago
Felix Lange 870b4505a0
p2p: define DiscReason as uint8 (#24507) 3 years ago