Show / Hide Table of Contents

Class BootstrapOptions

Inheritance
Object
BootstrapOptions
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Libplanet.Net.Options
Assembly: Libplanet.Net.dll
Syntax
public class BootstrapOptions

Fields

| Improve this Doc View Source

DefaultDialTimeout

Declaration
public const int DefaultDialTimeout = 15
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 TimeSpan 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–2023 Planetarium