mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
connectd: add a BOLT10 reference when doing DNS lookup
This commit is contained in:
parent
1b9cec8e91
commit
274e32925f
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user