Commit Graph

28 Commits (c350d3acd57a543b410e9e16598488183bcd5030)

Author SHA1 Message Date
lightclient 00294e9d28
cmd/utils,p2p: enable discv5 by default (#30327) 3 months ago
Felix Lange ad49c708f5
p2p/discover: remove type encPubkey (#30172) 4 months ago
Felix Lange 85459e1439
p2p/discover: unwrap 4-in-6 UDP source addresses (#29944) 5 months ago
Felix Lange bc6569462d
p2p: use netip.Addr where possible (#29891) 5 months ago
Felix Lange 94a8b296e4
p2p/discover: refactor node and endpoint representation (#29844) 5 months ago
Felix Lange 6a9158bb1b
p2p/discover: improved node revalidation (#29572) 6 months ago
Undefinedor a13b92524d
eth/protocols/eth,p2p/discover: remove unnecessary checks (#29590) 7 months ago
yzb db4cf69166
all: replace fmt.Errorf() with errors.New() if no param required (#29126) 9 months 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
Felix Lange ac86547b01
p2p/discover: add Table configuration and Nodes method (#27387) 1 year ago
Exca-DK f8f95346f9
p2p/discover: add traffic metrics (#27008) 2 years ago
Justin Traglia 2c5648d891
all: fix some typos (#25551) 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
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
timcooijmans 7b5107b73f
p2p/discover: avoid dropping unverified nodes when table is almost empty (#21396) 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
Felix Lange b7394d7942
p2p/discover: add initial discovery v5 implementation (#20750) 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
Felix Lange 896322bf88
cmd/devp2p: add devp2p debug tool (#19657) 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
Matthew Halpern f1537b774c p2p/discover: make maximum packet size a constant (#19061) 6 years ago
Felix Lange a89170cfb2
p2p/discover: improve table addition code (#18974) 6 years ago
Felix Lange f0c6f92140
p2p/discover, p2p/enode: rework endpoint proof handling, packet logging (#18963) 6 years ago
Felix Lange 6f607de5d5
p2p, p2p/discover: add signed ENR generation (#17753) 6 years ago
Felix Lange 30cd5c1854
all: new p2p node representation (#17643) 6 years ago
Felix Lange c73b654fd1 p2p/discover: move bond logic from table to transport (#17048) 6 years ago
thomasmodeneis ba1030b6b8 build: enable goimports and varcheck linters (#16446) 7 years ago
Felix Lange aeedec4078 p2p/discover: s/lastPong/bondTime/, update TestUDP_findnode 7 years ago
Péter Szilágyi 32301a4d6b
p2p/discover: validate bond against lastpong, not db presence 7 years ago
Felix Lange 9123eceb0f p2p, p2p/discover: misc connectivity improvements (#16069) 7 years ago
Felföldi Zsolt 92580d69d3 p2p, p2p/discover, p2p/discv5: implement UDP port sharing (#15200) 7 years ago
Ali Hajimirza 33b158e0ed discover: Changed Logging from Debug to Info (#14485) 8 years ago
Felix Lange 96ae35e2ac p2p, p2p/discover, p2p/nat: rework logging using context keys 8 years ago
Péter Szilágyi d4fd06c3dc
all: blidly swap out glog to our log15, logs need rework 8 years ago
Péter Szilágyi 189dee26c6
p2p: remove trailing newlines from log messages 8 years ago
Felix Lange a47341cf96 p2p, p2p/discover, p2p/discv5: add IP network restriction feature 8 years ago
Felix Lange a98d1d67d6 p2p/discover, p2p/discv5: prevent relay of invalid IPs and low ports 8 years ago
Felix Lange ba2884f343 p2p/discover, p2p/discv5: use netutil.IsTemporaryError 8 years ago
Péter Szilágyi ac954f48bd p2p/discover: emphasize warning, add 10 min cooldown 9 years ago
Péter Szilágyi b1908f6a16 psp/discovery: NTP sanity check clock drift in case of expirations 9 years ago
Ricardo Catalinas Jiménez 436fc8d76a all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}() 9 years ago
Felix Lange ee1debda53 p2p/discover: EIP-8 changes 9 years ago