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 SourceBlockHash
BlockHash of the block in vote. If default, vote nil.
Declaration
BlockHash BlockHash { get; }
Property Value
Type | Description |
---|---|
BlockHash |
Flag
Declaration
VoteFlag Flag { get; }
Property Value
Type | Description |
---|---|
VoteFlag |
Height
Height of the vote target block.
Declaration
long Height { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Round
Round of the vote in given height.
Declaration
int Round { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Timestamp
The time at which the voting took place.
Declaration
DateTimeOffset Timestamp { get; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
ValidatorPower
The voting power of the validator that voted.
Declaration
BigInteger? ValidatorPower { get; }
Property Value
Type | Description |
---|---|
System.Nullable<BigInteger> |
ValidatorPublicKey
The PublicKey of the validator that voted.
Declaration
PublicKey ValidatorPublicKey { get; }
Property Value
Type | Description |
---|---|
PublicKey |