Show / Hide Table of Contents

Class BlockVerificationState

Indicates a progress of verifying blocks.

Inheritance
Object
PreloadState
BlockVerificationState
Inherited Members
PreloadState.TotalPhase
Namespace: Libplanet.Net
Assembly: Libplanet.dll
Syntax
public class BlockVerificationState : PreloadState

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

TotalBlockCount

Total number of blocks to verify in the current batch.

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

VerifiedBlockCount

The number of blocks that completed verification.

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

VerifiedBlockHash

The hash digest of the block just verified.

Declaration
public HashDigest<SHA256> VerifiedBlockHash { get; }
Property Value
Type Description
HashDigest<SHA256>

Operators

| Improve this Doc View Source

Equality(BlockVerificationState, BlockVerificationState)

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

Inequality(BlockVerificationState, BlockVerificationState)

Declaration
public static bool operator !=(BlockVerificationState left, BlockVerificationState right)
Parameters
Type Name Description
BlockVerificationState left
BlockVerificationState right
Returns
Type Description
Boolean
  • Improve this Doc
  • View Source
Back to top Copyright © 2019–2020 Planetarium