Show / Hide Table of Contents

Class BlockHashDownloadState

Indicates a progress of downloading block hashes.

Inheritance
Object
PreloadState
BlockHashDownloadState
Inherited Members
PreloadState.TotalPhase
Namespace: Libplanet.Net
Assembly: Libplanet.dll
Syntax
public class BlockHashDownloadState : PreloadState

Properties

| Improve this Doc View Source

CurrentPhase

The current phase.

Declaration
public override int CurrentPhase { get; }
Property Value
Type Description
Int32
Overrides
PreloadState.CurrentPhase
| Improve this Doc View Source

EstimatedTotalBlockHashCount

The estimated number of block hashes to receive in the current batch.

Declaration
public long EstimatedTotalBlockHashCount { get; }
Property Value
Type Description
Int64
| Improve this Doc View Source

ReceivedBlockHashCount

The number of currently received block hashes.

Declaration
public long ReceivedBlockHashCount { get; }
Property Value
Type Description
Int64
| Improve this Doc View Source

SourcePeer

The peer which sent the block hashes.

Declaration
public BoundPeer SourcePeer { get; }
Property Value
Type Description
BoundPeer

Operators

| Improve this Doc View Source

Equality(BlockHashDownloadState, BlockHashDownloadState)

Declaration
public static bool operator ==(BlockHashDownloadState left, BlockHashDownloadState right)
Parameters
Type Name Description
BlockHashDownloadState left
BlockHashDownloadState right
Returns
Type Description
Boolean
| Improve this Doc View Source

Inequality(BlockHashDownloadState, BlockHashDownloadState)

Declaration
public static bool operator !=(BlockHashDownloadState left, BlockHashDownloadState right)
Parameters
Type Name Description
BlockHashDownloadState left
BlockHashDownloadState right
Returns
Type Description
Boolean
  • Improve this Doc
  • View Source
Back to top Copyright © 2019–2020 Planetarium