Show / Hide Table of Contents

Class PreloadOptions

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

Fields

| Improve this Doc View Source

DefaultDialTimeout

Declaration
public const int DefaultDialTimeout = null
Field Value
Type Description
Int32
| Improve this Doc View Source

DefaultTipDeltaThreshold

Declaration
public const long DefaultTipDeltaThreshold = null
Field Value
Type Description
Int64

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 preloading 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

TipDeltaThreshold

Determines when to stop preloading. Preloading is considered complete when the delta between the local node's tip index and the best known tip index is less than or equal to this value. Set to DefaultTipDeltaThreshold by default.

Declaration
public long TipDeltaThreshold { get; set; }
Property Value
Type Description
Int64
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2022 Planetarium