Class DiscoveryOptions
Configuration options for discovering other peers.
Inherited Members
Namespace: Ipfs.Engine
Assembly: Ipfs.Engine.dll
Syntax
public class DiscoveryOptions
Fields
| Improve this Doc View SourceBootstrapPeers
Well known peers used to find other peers in the IPFS network.
Declaration
public IEnumerable<MultiAddress> BootstrapPeers
Field Value
Type | Description |
---|---|
IEnumerable<MultiAddress> | The default value is null. |
Remarks
If not null, then the sequence is use by the block API; otherwise the values in the configuration file are used.
DisableMdns
Disables the multicast DNS discovery of other peers and advertising of this peer.
Declaration
public bool DisableMdns
Field Value
Type | Description |
---|---|
Boolean |
DisableRandomWalk
Disables discovery of other peers by walking the DHT.
Declaration
public bool DisableRandomWalk
Field Value
Type | Description |
---|---|
Boolean |