Commit Graph

668 Commits (s1na-patch-2)

Author SHA1 Message Date
Felix Lange 817a3fb562
p2p/enode: avoid crashing for invalid IP (#21981) 4 years ago
Martin Holst Swende e7db1dbc96
p2p/nodestate: fix deadlock during shutdown of les server (#21927) 4 years ago
Nishant Das 429e7141f2
p2p/discover: fix deadlock in discv5 message dispatch (#21858) 4 years ago
Alex Prut 810f9e057d
all: remove redundant conversions and import names (#21903) 4 years ago
Alex Prut c92faee66e
all: simplify nested complexity and if blocks ending with a return statement (#21854) 4 years ago
Martin Holst Swende 3ef52775c4
p2p: avoid spinning loop on out-of-handles (#21878) 4 years ago
gary rong c52dfd55fb
p2p/simulations/adapters/exec: fix some issues (#21801) 4 years ago
gary rong b63bffe820
les, p2p/simulations/adapters: fix issues found while simulating les (#21761) 4 years ago
Felix Lange 524aaf5ec6
p2p/discover: implement v5.1 wire protocol (#21647) 4 years ago
Martin Holst Swende 7a5a822905
eth, p2p: use truncated names (#21698) 4 years ago
Felix Lange 5e86e4ed29
p2p/discover: remove use of shared hash instance for key derivation (#21673) 4 years ago
mr_franklin 666092936c
p2p/enode: remove unused code (#21612) 4 years ago
rene 129cf075e9
p2p: move rlpx into separate package (#21464) 4 years ago
Felföldi Zsolt 4eb9296910
p2p/nodestate: ensure correct callback order (#21436) 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 1d25039ff5
p2p/nat: limit UPNP request concurrency (#21390) 4 years ago
rene c0c01612e9
node: refactor package node (#21105) 4 years ago
Felix Lange 6ef4495a8f
p2p/discover: require table nodes to have an IP (#21330) 4 years ago
libotony 2e08dad9e6
p2p/discv5: unset pingEcho on pong timeout (#21324) 4 years ago
Péter Szilágyi 42ccb2fdbd
p2p: measure packet throughput too, not just bandwidth 4 years ago
Felix Lange 723bd8c17f
p2p/discover: move discv4 encoding to new 'v4wire' package (#21147) 5 years ago
Martin Michlmayr 4f2784b38f
all: fix typos in comments (#21118) 5 years ago
Felföldi Zsolt b4a2681120
les, les/lespay: implement new server pool (#20758) 5 years ago
Felix Lange 6f54ae24cd
p2p: add 0 port check in dialer (#21008) 5 years ago
tgyKomgo 1aa83290f5
p2p/enode: update code comment (#20972) 5 years ago
ucwong 6c458f32f8
p2p: defer wait group done in protocol start (#20951) 5 years ago
Nishant Das 7a63faf734
p2p/discover: add helper methods to UDPv5 (#20918) 5 years ago
Felföldi Zsolt 0851646e48
les, les/lespay/client: add service value statistics and API (#20837) 5 years ago
Felix Lange c8e9a91672
build: upgrade to golangci-lint 1.24.0 (#20901) 5 years ago
Felix Lange b7394d7942
p2p/discover: add initial discovery v5 implementation (#20750) 5 years ago
ucwong 0c359e4b9a
p2p/discv5, p2p/testing: add missing Timer.Stop calls in tests (#20869) 5 years ago
ucwong c87cdd3053
p2p/discv5: add missing Timer.Stop calls (#20853) 5 years ago
ucwong bf35e27ea7
p2p/server: add UDP port mapping goroutine to wait group (#20846) 5 years ago
Felix Lange 1e1b18637e
p2p/discv5: fix test on go 1.14 (#20724) 5 years ago
Boqin Qin 1b9c5b393b
all: fix goroutine leaks in unit tests by adding 1-elem channel buffer (#20666) 5 years ago
Felix Lange 57d4898e29
p2p/dnsdisc: re-check tree root when leaf resolution fails (#20682) 5 years ago
Felix Lange ac72787768
p2p: remove MeteredPeerEvent (#20679) 5 years ago
Felix Lange 90caa2cabb
p2p: new dial scheduler (#20592) 5 years ago
Boqin Qin a9614c3c91
event, p2p/simulations/adapters: fix rare goroutine leaks (#20657) 5 years ago
Felix Lange d5acc5ed9e p2p: ensure Server.loop is ticking even if discovery hangs (#20573) 5 years ago
Felix Lange fcafa0baa5 p2p: wait for listener goroutines on shutdown (#20569) 5 years ago
Felix Lange 191364c350 p2p/dnsdisc: add enode.Iterator API (#20437) 5 years ago
Marius van der Wijden c9dce0bfd7 p2p/enode: remove data race in sliceIter (#20421) 5 years ago
Felix Lange 2e98706a99 p2p/discover: slow down lookups on empty table (#20389) 5 years ago
Felix Lange fdff182f11 p2p/discv5: add deprecation warning and remove unused code (#20367) 5 years ago
Felix Lange df206d2513
p2p/simulations: fix staticcheck warnings (#20322) 5 years ago
Felix Lange 9e8cc00b73
p2p: remove unused code (#20325) 5 years ago
Felix Lange 5fefe39ba5 p2p/netutil: fix staticcheck warning (#20315) 5 years ago
Felix Lange 689486449d build: use golangci-lint (#20295) 5 years ago