Show / Hide Table of Contents

Interface IVoteMetadata

A common langword_csharp_interface for Votes and VoteMetadatas.

Namespace: Libplanet.Types.Consensus
Assembly: Libplanet.Types.dll
Syntax
public interface IVoteMetadata

Properties

| Improve this Doc View Source

BlockHash

BlockHash of the block in vote. If default, vote nil.

Declaration
BlockHash BlockHash { get; }
Property Value
Type Description
BlockHash
| Improve this Doc View Source

Flag

The VoteFlag indicating the type of a Vote.

Declaration
VoteFlag Flag { get; }
Property Value
Type Description
VoteFlag
| Improve this Doc View Source

Height

Height of the vote target block.

Declaration
long Height { get; }
Property Value
Type Description
System.Int64
| Improve this Doc View Source

Round

Round of the vote in given height.

Declaration
int Round { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Timestamp

The time at which the voting took place.

Declaration
DateTimeOffset Timestamp { get; }
Property Value
Type Description
DateTimeOffset
| Improve this Doc View Source

ValidatorPower

The voting power of the validator that voted.

Declaration
BigInteger? ValidatorPower { get; }
Property Value
Type Description
System.Nullable<BigInteger>
| Improve this Doc View Source

ValidatorPublicKey

The PublicKey of the validator that voted.

Declaration
PublicKey ValidatorPublicKey { get; }
Property Value
Type Description
PublicKey
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium