Class BlockDownloadState
Indicates a progress of downloading blocks.
Inheritance
BlockDownloadState
Assembly: Libplanet.Net.dll
Syntax
public class BlockDownloadState : BlockSyncState, IEquatable<BlockSyncState>, IEquatable<BlockDownloadState>
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 BlockHash 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
Methods
|
Improve this Doc
View Source
Equals(BlockDownloadState)
Indicates a progress of downloading blocks.
Declaration
public bool Equals(BlockDownloadState other)
Parameters
Returns
|
Improve this Doc
View Source
Equals(Object)
Indicates a progress of downloading blocks.
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
GetHashCode()
Indicates a progress of downloading blocks.
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
|
Improve this Doc
View Source
Equality(BlockDownloadState, BlockDownloadState)
Indicates a progress of downloading blocks.
Declaration
public static bool operator ==(BlockDownloadState left, BlockDownloadState right)
Parameters
Returns
|
Improve this Doc
View Source
Inequality(BlockDownloadState, BlockDownloadState)
Indicates a progress of downloading blocks.
Declaration
public static bool operator !=(BlockDownloadState left, BlockDownloadState right)
Parameters
Returns
Implements