Make the node auto-detect its registry_address
#2873
Labels
type-enhancement
An improvement of existing functionalities
Milestone
Currently, we have the following configuration item:
agora/source/agora/node/Config.d
Lines 329 to 330 in 8ed2d6d
As part of the validator config. However, there are a few problems with this:
realm
: hence, it could be inferred fromrealm
;What we should do is look up the
NS
records for therealm
so that we get the authoritative registries for therealm
we want to use. However, there might be a case for overriding the default registry (to avoid a SPOF, reduce load, or improve anonymity), hence we should have the ability to do so. For this, I suggest to turn the singlevalidator.registry_address
intonode.registries
, an array ofAddress
with fuzzy parsing (as in, default todns://
for scheme if there isn't any).The text was updated successfully, but these errors were encountered: