Package nxt.voting
Class PhasingVoteHome
java.lang.Object
nxt.voting.PhasingVoteHome
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionfinal classfinal class -
Method Summary
Modifier and TypeMethodDescriptionstatic PhasingVoteHomeforChain(ChildChain childChain) longgetSubPollVoteCount(byte[] phasedTransactionHash, String subPollName) getSubPollVotes(byte[] phasedTransactionHash, String subPollName) getVote(byte[] phasedTransactionHash, long voterId) longgetVoteCount(byte[] phasedTransactionHash) getVotes(byte[] phasedTransactionHash, int from, int to)
-
Method Details
-
forChain
-
getVotes
public DbIterator<PhasingVoteHome.PhasingVote> getVotes(byte[] phasedTransactionHash, int from, int to) -
getSubPollVotes
public DbIterator<PhasingVoteHome.PhasingVoteSubPoll> getSubPollVotes(byte[] phasedTransactionHash, String subPollName) -
getVote
-
getVoteCount
public long getVoteCount(byte[] phasedTransactionHash) -
getSubPollVoteCount
-