Show / Hide Table of Contents

Class BlockHashDownloadState

Indicates a progress of downloading block hashes.

Inheritance
Object
PreloadState
BlockHashDownloadState
Implements
IEquatable<BlockHashDownloadState>
Inherited Members
PreloadState.TotalPhase
PreloadState.Equals(PreloadState)
Namespace: Libplanet.Net
Assembly: Libplanet.Net.dll
Syntax
public class BlockHashDownloadState : PreloadState, IEquatable<BlockHashDownloadState>

Properties

| Improve this Doc View Source

CurrentPhase

The current phase.

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

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

Equals(Nullable<Object>)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
Nullable<Object> obj
Returns
Type Description
Boolean
Overrides
PreloadState.Equals(Nullable<Object>)
| Improve this Doc View Source

GetHashCode()

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

Operators

| Improve this Doc View Source

Equality(BlockHashDownloadState, BlockHashDownloadState)

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)

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

Implements

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