Show / Hide Table of Contents

Class BlockDownloadState

Indicates a progress of downloading blocks.

Inheritance
Object
PreloadState
BlockDownloadState
Inherited Members
PreloadState.TotalPhase
Namespace: Libplanet.Net
Assembly: Libplanet.dll
Syntax
public class BlockDownloadState : 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

ReceivedBlockCount

The number of currently received blocks.

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

ReceivedBlockHash

The hash digest of the block just received.

Declaration
public HashDigest<SHA256> ReceivedBlockHash { get; }
Property Value
Type Description
HashDigest<SHA256>
| Improve this Doc View Source

SourcePeer

The peer which sent the block.

Declaration
public BoundPeer SourcePeer { get; }
Property Value
Type Description
BoundPeer
| Improve this Doc View Source

TotalBlockCount

Total number of blocks to receive in the current batch.

Declaration
public long TotalBlockCount { get; }
Property Value
Type Description
Int64

Operators

| Improve this Doc View Source

Equality(BlockDownloadState, BlockDownloadState)

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

Inequality(BlockDownloadState, BlockDownloadState)

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