Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DiscoveryConfig

interface

DiscoveryConfig

description

This interface defines the required configuration of dApps discovery operations. You can use this interface when referring to the configuration that is necessary to run the discovery scope of this backend.

The sources field can hold an array of account addresses or an array of public keys, you can also use both options together.

Note that each discovery source is synchronized separately, as such if there is more than one discovery source, the synchronization state is effectively split amongst the separate sources and the backend may take more time to complete the synchronization process.

since

v0.3.0

Hierarchy

  • DiscoveryConfig

Index

Properties

Properties

sources: string[]

An array of discovery sources. This is typically an array of account address and/or public keys.

Discovery sources are used to fetch the data necessary to synchronize the backend database with the network.

access

public

var

{string[]}

Generated using TypeDoc