Commit Graph

173 Commits (8860b3975429d0b1160a51796aac7e53e04af952)

Author SHA1 Message Date
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) 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) 2 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
Ikko Ashimine fb7da82dde
p2p: fix typo in v4wire.go 3 years ago
Guillaume Ballet 0183256e7f
all: fix warning flagging the use of DeepEqual on error (#23624) 3 years ago
Péter Szilágyi 6ef3a16869
p2p/enode: use unix timestamp as base ENR sequence number (#19903) 3 years ago
baptiste-b-pegasys 860184d542
p2p: remove term "whitelist" (#23295) 3 years ago
Felix Lange 3e6f46caec
p2p/discover/v4wire: use optional RLP field for EIP-868 seq (#22842) 4 years ago
Nishant Das 34f3c9539b
p2p/discover: improve discv5 handling of IPv4-in-IPv6 addresses (#22703) 4 years ago
Felföldi Zsolt d96870428f
les: UDP pre-negotiation of available server capacity (#22183) 4 years ago
Nishant Das 429e7141f2
p2p/discover: fix deadlock in discv5 message dispatch (#21858) 4 years ago
Felix Lange 524aaf5ec6
p2p/discover: implement v5.1 wire protocol (#21647) 4 years ago
Felix Lange 5e86e4ed29
p2p/discover: remove use of shared hash instance for key derivation (#21673) 4 years ago
Guillaume Ballet 4e2641319b
p2p/discover: fix typo in comments (#21554) 4 years ago
timcooijmans 7b5107b73f
p2p/discover: avoid dropping unverified nodes when table is almost empty (#21396) 4 years ago
Felix Lange 6ef4495a8f
p2p/discover: require table nodes to have an IP (#21330) 4 years ago
Felix Lange 723bd8c17f
p2p/discover: move discv4 encoding to new 'v4wire' package (#21147) 5 years ago
Felix Lange 6f54ae24cd
p2p: add 0 port check in dialer (#21008) 5 years ago
Nishant Das 7a63faf734
p2p/discover: add helper methods to UDPv5 (#20918) 5 years ago
Felix Lange b7394d7942
p2p/discover: add initial discovery v5 implementation (#20750) 5 years ago
Felix Lange 2e98706a99 p2p/discover: slow down lookups on empty table (#20389) 5 years ago
Felix Lange 2c37142d2f cmd/devp2p, p2p: dial using node iterator, discovery crawler (#20132) 5 years ago
Péter Szilágyi 1a83114c74
all: update author list and licenses 5 years ago
Christian Muehlhaeuser 5183483c53 core/state, p2p/discover, trie, whisper: avoid unnecessary conversions (#19870) 5 years ago
Felix Lange fa538ee7ed p2p/discover: improve randomness of ReadRandomNodes (#19799) 5 years ago
Felix Lange e83c3ccc47
p2p/enode: improve IPv6 support, add ENR text representation (#19663) 6 years ago
Felix Lange 896322bf88
cmd/devp2p: add devp2p debug tool (#19657) 6 years ago
Martin Holst Swende fec3b56f7f accounts, p2p, rpc: make CGO_ENABLED=0 build again (#19593) 6 years ago
Felix Lange b548b5aeb0
p2p/discover: fix crash in Resolve (#19579) 6 years ago
Felix Lange 350a87dd3c
p2p/discover: add support for EIP-868 (v4 ENR extension) (#19540) 6 years ago
Martin Holst Swende 95263914fc
p2p/discover: fix a race where table loop would self-lookup before returning from constructor 6 years ago
Felix Lange dba1750eda p2p/discover: split out discv4 code 6 years ago
Felix Lange ed97517ff4 p2p/discover: bump failure counter only if no nodes were provided (#19362) 6 years ago
Felix Lange cf147c71d5 p2p/discover: remove unused function 6 years ago