Show / Hide Table of Contents

Class BlockHashDownloadState

Indicates a progress of downloading block hashes.

Inheritance
Object
BlockSyncState
BlockHashDownloadState
Implements
IEquatable<BlockSyncState>
IEquatable<BlockHashDownloadState>
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 BlockHashDownloadState : BlockSyncState, IEquatable<BlockSyncState>, IEquatable<BlockHashDownloadState>

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

EstimatedTotalBlockHashCount

The estimated number of block hashes to receive in the current batch.

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

ReceivedBlockHashCount

The number of currently received block hashes.

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

SourcePeer

The peer which sent the block hashes.

Declaration
public BoundPeer SourcePeer { get; }
Property Value
Type Description
BoundPeer

Methods

| Improve this Doc View Source

Equals(BlockHashDownloadState)

Indicates a progress of downloading block hashes.

Declaration
public bool Equals(BlockHashDownloadState other)
Parameters
Type Name Description
BlockHashDownloadState other
Returns
Type Description
Boolean
| Improve this Doc View Source

Equals(Object)

Indicates a progress of downloading block hashes.

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 block hashes.

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

Operators

| Improve this Doc View Source

Equality(BlockHashDownloadState, BlockHashDownloadState)

Indicates a progress of downloading block hashes.

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

Inequality(BlockHashDownloadState, BlockHashDownloadState)

Indicates a progress of downloading block hashes.

Declaration
public static bool operator !=(BlockHashDownloadState left, BlockHashDownloadState right)
Parameters
Type Name Description
BlockHashDownloadState left
BlockHashDownloadState 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