Class BlockDownloadState
Indicates a progress of downloading blocks.
Inherited Members
Namespace: Libplanet.Net
Assembly: Libplanet.dll
Syntax
public class BlockDownloadState : PreloadState
Properties
| Improve this Doc View SourceCurrentPhase
The current phase.
Declaration
public override int CurrentPhase { get; }
Property Value
Type | Description |
---|---|
Int32 |
Overrides
| Improve this Doc View SourceReceivedBlockCount
The number of currently received blocks.
Declaration
public long ReceivedBlockCount { get; }
Property Value
Type | Description |
---|---|
Int64 |
ReceivedBlockHash
The hash digest of the block just received.
Declaration
public HashDigest<SHA256> ReceivedBlockHash { get; }
Property Value
Type | Description |
---|---|
HashDigest<SHA256> |
SourcePeer
The peer which sent the block.
Declaration
public BoundPeer SourcePeer { get; }
Property Value
Type | Description |
---|---|
BoundPeer |
TotalBlockCount
Total number of blocks to receive in the current batch.
Declaration
public long TotalBlockCount { get; }
Property Value
Type | Description |
---|---|
Int64 |