Skip to content
Unverified Commit 4a124df1 authored by Max Inden's avatar Max Inden
Browse files

client/authority-discovery: Add option to disable querying

The authority discovery module (1) publishes a nodes address onto the
DHT and (2) queryies the DHT for the addresses of other authorities.

When a node is only allowed to connect to the configured reserved nodes
there is no benefit in discovering other authorities (2). To reduce the
unnecessary overhead this patch adds an option to disable (2) while
still running (1).

In the scenario above where a node can only connect to a small subset of
the nodes (reserved nodes) of the DHT the publishing of addresses (1) is
likely failing as the node can not place its addresses on the node
closest to its chain identity. For now the node will still try to
publish its addresses, hoping that (a) one of its reserved nodes is
close enough to accept the record and (b) the reserved node will
republish the record to other nodes.
parent 74011537
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment