Uh oh!
There was an error while loading. Please reload this page.
Support DNS hostnames in node announcements - #2234
Conversation
Simple interop testing with CLN v0.10.2-252-gc0e3155 configured with: Overview of setup:Alice [Eclair] @ dnstest1.co.fr <---> Bob [CLN] @ dnstest2.co.fr <---> Carol [Eclair] @ dnstest3.co.fr Added to local Created a script dns_gossip.sh to test that DNS hostnames are gossiped between Eclair and CLN. dns_gossip.shLaunch bicoind with Example result: To re-run |
| // this actor listens to connection requests and creates connections | ||
| system.actorOf(ClientSpawner.props(nodeParams.keyPair, nodeParams.socksProxy_opt, nodeParams.peerConnectionConf, TestProbe().ref, TestProbe().ref)) | ||
| val invalidDnsHostname_opt = NodeAddress.fromParts("eclair.invalid", 9735).toOption |
There was a problem hiding this comment.
Note: the .invalid top level domain will never resolve.
t-bast
left a comment
There was a problem hiding this comment.
The logic looks good to me, I only have small cosmetic/architectural comments, good job!
This does need a rebase though.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
remyers
commented
Aug 1, 2022
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
codecov-commenter
commented
Aug 15, 2022
Codecov Report
@@ Coverage Diff @@## master #2234 +/- ##
==========================================
- Coverage 84.95% 84.89% -0.07%
==========================================
Files 198 198 Lines 15255 15277 +22 Branches 633 640 +7 ==========================================
+ Hits 12960 12969 +9 - Misses 2295 2308 +13
|
Add support for DNS host names
Notable changes:
server.public-ipsaddresses (see PR #911). Note: you can not specify more than one DNS host name.Clientattempts to connect to a peer.NodeAnnouncementthat contains more than one DNS host nameTo do:
interop testing with LND Issue# 6337interop testing with LDK PR# 1329See also PR #2202 - Use NodeAddress everywhere
and PR #2296 - drop Tor v2 support