Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

client/authority-discovery: Add option to disable querying #6354

Closed

Commits on Jun 15, 2020

  1. 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.
    mxinden committed Jun 15, 2020
    Configuration menu
    Copy the full SHA
    4a124df View commit details
    Browse the repository at this point in the history