ConfigSeedProvider
Ce contenu n’est pas encore disponible dans votre langue.
Defined in: src/discovery/ConfigSeedProvider.ts:10
Simplest SeedProvider: returns a fixed list of addresses passed at
construction time (typically sourced from config or ENV).
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ConfigSeedProvider(
options?):ConfigSeedProvider
Defined in: src/discovery/ConfigSeedProvider.ts:13
Parameters
Section titled “Parameters”options?
Section titled “options?”ConfigSeedProviderOptions = {}
Returns
Section titled “Returns”ConfigSeedProvider
Methods
Section titled “Methods”lookup()
Section titled “lookup()”lookup():
Promise<NodeAddress[]>
Defined in: src/discovery/ConfigSeedProvider.ts:18
Return candidate seed addresses.
Returns
Section titled “Returns”Promise<NodeAddress[]>
