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 |
---|---|
Int64 |
Round
Round of the vote in given height.
Declaration
int Round { get; }
Property Value
Type | Description |
---|---|
Int32 |
Timestamp
The time at which the voting took place.
Declaration
DateTimeOffset Timestamp { get; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
ValidatorPublicKey
The PublicKey of the validator that voted.
Declaration
PublicKey ValidatorPublicKey { get; }
Property Value
Type | Description |
---|---|
PublicKey |