Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Daniel Knopik
de6d597679
p2p/discover: schedule revalidation also when all nodes are excluded ( #30239 )
...
## Issue
If `nextTime` has passed, but all nodes are excluded, `get` would return
`nil` and `run` would therefore not invoke `schedule`. Then, we schedule
a timer for the past, as neither `nextTime` value has been updated. This
creates a busy loop, as the timer immediately returns.
## Fix
With this PR, revalidation will be also rescheduled when all nodes are
excluded.
---------
Co-authored-by: lightclient <lightclient@protonmail.com>
3 months ago
..
discover
p2p/discover: schedule revalidation also when all nodes are excluded ( #30239 )
3 months ago
dnsdisc
p2p/dnsdisc: using clear builtin func ( #29418 )
7 months ago
enode
p2p: use netip.Addr where possible ( #29891 )
5 months ago
enr
beacon/types, cmd/devp2p, p2p/enr: clean up uses of fmt.Errorf ( #30182 )
4 months ago
msgrate
log: remove lazy, remove unused interfaces, unexport methods ( #28622 )
11 months ago
nat
p2p/nat: return correct port for ExtIP NAT ( #30234 )
4 months ago
netutil
p2p/netutil: fix comments ( #29942 )
5 months ago
rlpx
p2p/rlpx: 2KB maximum size for handshake messages ( #30029 )
5 months ago
simulations
p2p/simulations: update doc of HTTP endpoints ( #29894 )
5 months ago
tracker
all: fix some typos ( #25551 )
2 years ago
dial.go
p2p: use netip.Addr where possible ( #29891 )
5 months ago
dial_test.go
p2p: initialize maps with known size ( #27229 )
2 years ago
message.go
p2p: use atomic types ( #27764 )
1 year ago
message_test.go
p2p: move rlpx into separate package ( #21464 )
4 years ago
metrics.go
p2p: add inbound and outbound peers metric ( #29424 )
7 months ago
peer.go
all: remove dependency on golang.org/exp ( #29314 )
8 months ago
peer_error.go
p2p: use errors.Is for error comparison ( #24882 )
2 years ago
peer_test.go
p2p: move rlpx into separate package ( #21464 )
4 years ago
protocol.go
all: update golang/x/ext and fix slice sorting fallout ( #27909 )
1 year ago
server.go
p2p: use package slices to sort in PeersInfo ( #29957 )
5 months ago
server_nat.go
p2p: fix ip change log parameter ( #30158 )
4 months ago
server_nat_test.go
p2p: fix flaky test TestServerPortMapping ( #30241 )
3 months ago
server_test.go
cmd/bootnode, p2p: support for alternate mapped ports ( #26359 )
1 year ago
transport.go
p2p, log, rpc: use errors.New to replace fmt.Errorf with no parameters ( #29074 )
9 months ago
transport_test.go
all: update license headers and AUTHORS from git history ( #24947 )
3 years ago
util.go
all: assign zero after resize in implementations of heap.Interface ( #26296 )
2 years ago
util_test.go
p2p: new dial scheduler ( #20592 )
5 years ago