-
Notifications
You must be signed in to change notification settings - Fork 912
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
bolt7: dns support #4829
bolt7: dns support #4829
Conversation
30e9c00
to
38d9ea0
Compare
1193fae
to
6e1c37a
Compare
63b35de
to
b7d098f
Compare
I think this is ready for review now. |
964179d
to
d2ccfef
Compare
Yeah, there is a special syntax that specifies a separate branch of the lightning-rfc repo to check against, though I'm not remembering how that worked rn |
Thx for the tip, looks like we can set the |
bd48566
to
0b68251
Compare
de679ab
to
bb3fcf3
Compare
9598e74
to
1edb314
Compare
Currently CI fails on |
Kicked CI, just in case this is just test flakiness. |
@ZmnSCPxj The problem remains in |
195cbc6
to
1c83cfd
Compare
1c83cfd
to
bbd2ac9
Compare
… sync Incase the error handling happening after the quted line is non-critical: ``` return tal_fmt(NULL, "Unable to parse address '%s': %s", arg, err_msg); ``` we should not expand the proposed_listen_announce array without adding a proposed_wireaddr. So we move the expand of proposed_listen_announce to the location where we also expand the proposed_wireaddr. Changelog-None
Changelog-Fixed: Options: Respect --always-use-proxy AND --disable-dns when parsing wireaddresses to listen on.
This will resolve ADDR_TYPE_DNS wireaddr by expanding connect->addrs with one new wireaddr ADDR_INTERNAL_WIREADDR per DNS result and calling recursion
Changelog-EXPERIMENTAL: Ability to announce DNS addresses
bbd2ac9
to
930d25b
Compare
Ack 930d25b Rebased onto master, fixed trivial conflicts. |
Seems like rust-lightning is going to add support for this as the first other implementation: lightningdevkit/rust-lightning#1329 |
This implements RFC lightning/bolts#911 to allow annoucements of DNS hostnames.
The feature can only be used with
EXPERIMENTAL
.The bold quotes are disabled in the topmost commit to please CI.
Adds: