Class HeightVoteSet
Inheritance
HeightVoteSet
Assembly: Libplanet.Net.dll
Syntax
public class HeightVoteSet
Constructors
|
Improve this Doc
View Source
HeightVoteSet(Int64, ValidatorSet)
Declaration
public HeightVoteSet(long height, ValidatorSet validatorSet)
Parameters
Properties
|
Improve this Doc
View Source
Count
Declaration
public int Count { get; }
Property Value
Methods
|
Improve this Doc
View Source
AddRound(Int32)
Declaration
public void AddRound(int round)
Parameters
Type |
Name |
Description |
Int32 |
round |
|
|
Improve this Doc
View Source
AddVote(Vote)
Declaration
public void AddVote(Vote vote)
Parameters
Type |
Name |
Description |
Vote |
vote |
|
|
Improve this Doc
View Source
GetVoteSet(Int32, VoteFlag)
Gets a VoteSet for given round and flag.
Declaration
public VoteSet GetVoteSet(int round, VoteFlag voteFlag)
Parameters
Returns
Exceptions
|
Improve this Doc
View Source
Height()
Declaration
Returns
|
Improve this Doc
View Source
POLInfo()
Declaration
public (int, BlockHash) POLInfo()
Returns
|
Improve this Doc
View Source
PreCommits(Int32)
Declaration
public VoteSet PreCommits(int round)
Parameters
Type |
Name |
Description |
Int32 |
round |
|
Returns
|
Improve this Doc
View Source
PreVotes(Int32)
Declaration
public VoteSet PreVotes(int round)
Parameters
Type |
Name |
Description |
Int32 |
round |
|
Returns
|
Improve this Doc
View Source
Reset(Int64, ValidatorSet)
Declaration
public void Reset(long height, ValidatorSet validatorSet)
Parameters
|
Improve this Doc
View Source
Round()
Declaration
Returns
|
Improve this Doc
View Source
SetPeerMaj23(Maj23)
Declaration
public bool SetPeerMaj23(Maj23 maj23)
Parameters
Type |
Name |
Description |
Maj23 |
maj23 |
|
Returns
|
Improve this Doc
View Source
SetRound(Int32)
Declaration
public void SetRound(int round)
Parameters
Type |
Name |
Description |
Int32 |
round |
|