From 274e32925fa5e93e81c5e8bc7d43c2d9df0d367a Mon Sep 17 00:00:00 2001 From: darosior Date: Sat, 28 Sep 2019 18:32:56 +0200 Subject: [PATCH] connectd: add a BOLT10 reference when doing DNS lookup --- connectd/connectd.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/connectd/connectd.c b/connectd/connectd.c index dbcd9602a..535f1370f 100644 --- a/connectd/connectd.c +++ b/connectd/connectd.c @@ -1244,7 +1244,14 @@ static struct io_plan *connect_activate(struct io_conn *conn, return daemon_conn_read_next(conn, daemon->master); } -/*~ This is where we'd put a BOLT #10 reference, but it doesn't exist :( */ +/* BOLT #10: + * + * The DNS seed: + * ... + * - upon receiving a _node_ query: + * - MUST select the record matching the `node_id`, if any, AND return all + * addresses associated with that node. + */ static const char **seednames(const tal_t *ctx, const struct node_id *id) { char bech32[100];