Show / Hide Table of Contents

Class BlockDownloadState

Indicates a progress of downloading blocks.

Inheritance
Object
BlockSyncState
BlockDownloadState
Implements
IEquatable<BlockSyncState>
IEquatable<BlockDownloadState>
Inherited Members
BlockSyncState.TotalPhase
BlockSyncState.Equals(BlockSyncState)
Object.Equals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Libplanet.Net
Assembly: Libplanet.Net.dll
Syntax
public class BlockDownloadState : BlockSyncState, IEquatable<BlockSyncState>, IEquatable<BlockDownloadState>

Properties

| Improve this Doc View Source

CurrentPhase

The current phase.

Declaration
public override int CurrentPhase { get; }
Property Value
Type Description
Int32
Overrides
BlockSyncState.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 BlockHash ReceivedBlockHash { get; }
Property Value
Type Description
BlockHash
| 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

Methods

| Improve this Doc View Source

Equals(BlockDownloadState)

Indicates a progress of downloading blocks.

Declaration
public bool Equals(BlockDownloadState other)
Parameters
Type Name Description
BlockDownloadState other
Returns
Type Description
Boolean
| 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
Type Description
Boolean
Overrides
BlockSyncState.Equals(Object)
| Improve this Doc View Source

GetHashCode()

Indicates a progress of downloading blocks.

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
BlockSyncState.GetHashCode()

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
Type Name Description
BlockDownloadState left
BlockDownloadState right
Returns
Type Description
Boolean
| Improve this Doc View Source

Inequality(BlockDownloadState, BlockDownloadState)

Indicates a progress of downloading blocks.

Declaration
public static bool operator !=(BlockDownloadState left, BlockDownloadState right)
Parameters
Type Name Description
BlockDownloadState left
BlockDownloadState right
Returns
Type Description
Boolean

Implements

System.IEquatable<T>
System.IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium