Show / Hide Table of Contents

Class BootstrapOptions

Inheritance
Object
BootstrapOptions
Namespace: Libplanet.Net
Assembly: Libplanet.Net.dll
Syntax
public class BootstrapOptions : object

Fields

| Improve this Doc View Source

DefaultDialTimeout

Declaration
public const int DefaultDialTimeout = null
Field Value
Type Description
Int32

Properties

| Improve this Doc View Source

DialTimeout

Determines how long an ITransport should wait before timimg out when dialing peers for either PongMsg, NeighborsMsg, or Libplanet.Net.Messages.ChainStatusMsg during a bootstrapping phase. Generally, a more relaxed is used compared to DialTimeout. Set to DefaultDialTimeout seconds by default.

Declaration
public TimeSpan DialTimeout { get; set; }
Property Value
Type Description
TimeSpan
See Also
DialTimeout
| Improve this Doc View Source

SearchDepth

Determines the depth of the search when discovering neighbors for the local node.

Declaration
public int SearchDepth { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

SeedPeers

The list of seed peers to connect to.

Declaration
public ImmutableList<BoundPeer> SeedPeers { get; set; }
Property Value
Type Description
ImmutableList<BoundPeer>
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2022 Planetarium