Why Nostr? What is Njump?
2023-06-09 12:49:32
in reply to

Thomas Steenholdt [ARCHIVE] on Nostr: 📅 Original date posted:2018-03-16 📝 Original message: Hi Christian, Thanks for ...

📅 Original date posted:2018-03-16
📝 Original message:
Hi Christian,

Thanks for the explanation - This was exactly the the piece of the puzzle I was missing. 😊

I'd be happy to help clarify this in the BOLT10 specification, if that makes any type of sense? I can make a pull request for review?

/Thomas


________________________________
From: Christian Decker <decker.christian at gmail.com>
Sent: Friday, March 16, 2018 9:37:17 AM
To: Thomas Steenholdt
Cc: lightning-dev at lists.linuxfoundation.org
Subject: Re: DNS Seed query semantics clarification

Hi Thomas,

indeed the spec is a bit vague on the flags. The intent is to use them
as subdomains. For example if you want to query for only realm IPv4
nodes then you'd use the following:

dig a2.seed.bitcoinstats.com

while IPv4 or IPv6 nodes, but only nodes with realm 0, should be
returned to the following:

dig r0.a6.seed.bitcoinstats.com

Notice however that I haven't implemented the query filtering itself
just yet.

Cheers,
Christian

Thomas Steenholdt <TSteenholdt at cascadetechnologypartners.com> writes:
> Hi there,
>
>
> I'm trying to understand the DNS seeds described by BOLT10, but seem to be missing something regarding the query semantics.
>
>
> The BOLT states that the DNS seed must support a list of key-value pairs, but it's unclear to me how these pairs are used in a query. Are they encoded into the fqdn used in the query or something entirely different?
>
>
> Any pointers?
>
>
> /Thomas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20180316/e4a9d867/attachment.html>;
Author Public Key
npub1z8qpsrcu87fz8kc3lz4c3pnn78406xadwvsvhkwsjejk7tdsnynqk6w06j