Commit Graph

2 Commits

Author SHA1 Message Date
Elle Mouton
a7ae21d685 netadd: split ValidatenodeAnn into sig and field checks
Check that the node ann doesnt contain more than 1 DNS addr.
This will ensure that we now start rejecting new node announcements
with multiple DNS addrs since this check is called in the gossiper
before persisting a node ann to our local graph.

It also validates the DNS fields according to BOLT #7 specs.
2025-08-15 05:53:03 +00:00
Mohamed Awnallah
4d9f884c3f lnwire: add DNSAddress type 2025-08-15 05:49:11 +00:00