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

p2p: multiaddr dns bootstrapping utils #5575

Merged
merged 27 commits into from Aug 1, 2023

Conversation

Eric-Warehime
Copy link
Contributor

@Eric-Warehime Eric-Warehime commented Jul 18, 2023

Summary

Initial set of changes which integrate with our ResolveController to fetch multiaddrs from TXT records in the dnsaddr format.

Test Plan

Unit tests for now. Also working on building out the algons functionality to setup network bootstraps via dns.

Info

Resolves #5545

@codecov
Copy link

codecov bot commented Jul 18, 2023

Codecov Report

Merging #5575 (a6e67ba) into master (1bf7a21) will increase coverage by 0.04%.
The diff coverage is 77.96%.

@@            Coverage Diff             @@
##           master    #5575      +/-   ##
==========================================
+ Coverage   54.95%   54.99%   +0.04%     
==========================================
  Files         463      465       +2     
  Lines       64525    64584      +59     
==========================================
+ Hits        35457    35521      +64     
+ Misses      26684    26682       -2     
+ Partials     2384     2381       -3     
Files Changed Coverage Δ
tools/network/resolveController.go 52.63% <0.00%> (-24.30%) ⬇️
network/p2p/dnsaddr/resolve.go 96.29% <96.29%> (ø)
network/p2p/dnsaddr/resolveController.go 100.00% <100.00%> (ø)

... and 7 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Eric-Warehime Eric-Warehime marked this pull request as ready for review July 18, 2023 16:38
@Eric-Warehime Eric-Warehime requested review from cce, iansuvak, shiqizng and a team July 18, 2023 16:38
cmd/algons/dnsaddrCmd.go Outdated Show resolved Hide resolved
@Eric-Warehime Eric-Warehime requested a review from cce July 26, 2023 17:26
shiqizng
shiqizng previously approved these changes Jul 26, 2023
@winder winder changed the title p2p: Multiaddr dns p2p: multiaddr dns bootstrapping utils Jul 27, 2023
iansuvak
iansuvak previously approved these changes Jul 27, 2023
@Eric-Warehime Eric-Warehime dismissed stale reviews from iansuvak and shiqizng via e8ef66b July 28, 2023 19:21
winder
winder previously approved these changes Jul 28, 2023
@winder winder merged commit d82200a into algorand:master Aug 1, 2023
18 checks passed
@jsgranados jsgranados added the p2p Work related to the p2p project label Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement p2p Work related to the p2p project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fetch bootstrap peers from dnsaddr records
6 participants