Class BlockDownloadState
Indicates a progress of downloading blocks.
Inheritance
BlockDownloadState
Assembly: Libplanet.dll
Syntax
public class BlockDownloadState : PreloadState
Properties
|
Improve this Doc
View Source
CurrentPhase
Declaration
public override int CurrentPhase { get; }
Property Value
Overrides
|
Improve this Doc
View Source
ReceivedBlockCount
The number of currently received blocks.
Declaration
public long ReceivedBlockCount { get; }
Property Value
|
Improve this Doc
View Source
ReceivedBlockHash
The hash digest of the block just received.
Declaration
public HashDigest<SHA256> ReceivedBlockHash { get; }
Property Value
|
Improve this Doc
View Source
SourcePeer
The peer which sent the block.
Declaration
public BoundPeer SourcePeer { get; }
Property Value
|
Improve this Doc
View Source
TotalBlockCount
Total number of blocks to receive in the current batch.
Declaration
public long TotalBlockCount { get; }
Property Value
Operators
|
Improve this Doc
View Source
Equality(BlockDownloadState, BlockDownloadState)
Declaration
public static bool operator ==(BlockDownloadState left, BlockDownloadState right)
Parameters
Returns
|
Improve this Doc
View Source
Inequality(BlockDownloadState, BlockDownloadState)
Declaration
public static bool operator !=(BlockDownloadState left, BlockDownloadState right)
Parameters
Returns