Class BootstrapOptions
Inheritance
BootstrapOptions
Assembly: Libplanet.Net.dll
Syntax
public class BootstrapOptions : object
Fields
|
Improve this Doc
View Source
DefaultDialTimeout
Declaration
public const int DefaultDialTimeout = null
Field Value
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
|
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
|
Improve this Doc
View Source
SeedPeers
The list of seed peers to connect to.
Declaration
public ImmutableList<BoundPeer> SeedPeers { get; set; }
Property Value