Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add dnsdisc mode in p2p crawl #364

Merged
merged 9 commits into from
Oct 23, 2024
Merged

Conversation

jhkimqd
Copy link
Contributor

@jhkimqd jhkimqd commented Sep 9, 2024

Description

This PR integrates EIP-1459 DNS Discovery into some polycli p2p commands for quick testing and searching for nodes within an enrtree.

Testing

p2p crawl nodes_file.json --timeout 10s --discovery-dns "enrtree://AKUEZKN7PSKVNR65FZDHECMKOJQSGPARGTPPBI7WS2VUL4EGR6XPC@pos.polygon-peers.io"

Will output the nodes of the enrtree into the nodes_file.json

image

@jhkimqd jhkimqd marked this pull request as draft September 9, 2024 02:21
@jhkimqd jhkimqd marked this pull request as ready for review October 23, 2024 02:26
@jhkimqd jhkimqd requested a review from minhd-vu October 23, 2024 02:26
cmd/p2p/crawl/crawl.go Outdated Show resolved Hide resolved
Signed-off-by: Ji Hwan <[email protected]>
@jhkimqd jhkimqd requested a review from minhd-vu October 23, 2024 08:00
cmd/p2p/crawl/crawl.go Outdated Show resolved Hide resolved
Signed-off-by: Ji Hwan <[email protected]>
cmd/p2p/crawl/crawl.go Outdated Show resolved Hide resolved
Signed-off-by: Ji Hwan <[email protected]>
@jhkimqd jhkimqd merged commit c07405b into 0xPolygon:main Oct 23, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants