connectd: add darosior's seed node

This commit is contained in:
darosior 2020-04-04 18:26:22 +02:00 committed by Rusty Russell
parent 11acd902ff
commit 7ae8e21247
1 changed files with 4 additions and 0 deletions

View File

@ -1330,6 +1330,8 @@ static const char **seednames(const tal_t *ctx, const struct node_id *id)
bech32_encode(bech32, "ln", data, tal_count(data), sizeof(bech32));
/* This is cdecker's seed */
tal_arr_expand(&seednames, tal_fmt(seednames, "%s.lseed.bitcoinstats.com", bech32));
/* This is darosior's seed */
tal_arr_expand(&seednames, tal_fmt(seednames, "%s.lseed.darosior.ninja", bech32));
return seednames;
}
@ -1361,6 +1363,8 @@ static void add_seed_addrs(struct wireaddr_internal **addrs,
&a.u.wireaddr));
tal_arr_expand(addrs, a);
}
/* Other seeds will likely have the same informations. */
return;
} else
status_peer_debug(id, "Could not resolve %s", hostnames[i]);
}