go-ethereum/p2p/dnsdisc
Felix Lange 9e6f924671
eth: report error from setupDiscovery at startup (#31233)
I ran into this while trying to debug a discv5 thing. I tried to disable
DNS discovery using `--discovery.dns=false`, which doesn't work.
Annoyingly, geth started anyway and discarded the error silently. I
eventually found my mistake, but it took way longer than it should have.

Also including a small change to the error message for invalid DNS URLs
here. The user actually needs to see the URL to make sense of the error.
2025-02-23 17:38:32 +01:00
..
client.go eth: report error from setupDiscovery at startup (#31233) 2025-02-23 17:38:32 +01:00
client_test.go p2p/dnsdisc: using clear builtin func (#29418) 2024-04-04 12:19:48 +02:00
doc.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
error.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
sync.go p2p/dnsdisc: fix hot-spin when all trees are empty (#22313) 2021-02-19 09:54:46 +01:00
sync_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
tree.go all: remove dependency on golang.org/exp (#29314) 2024-03-25 07:50:18 +01:00
tree_test.go p2p/dnsdisc: fix tests with Go 1.20 (#26690) 2023-02-14 15:58:43 +02:00