Documentation
¶
Index ¶
- func EncryptionKeyAsECCPoint(s *state.State) ecc.Point
- func NewRandomState(t *testing.T, origin types.CensusOrigin) *state.State
- func NewStateForTest(t *testing.T, processID types.ProcessID, ballotMode *big.Int, ...) *state.State
- func NewVoteForTest(publicKey ecc.Point, voterIndex uint64, value int) *state.Vote
- func NewVotesForTest(publicKey ecc.Point, numVotes uint64, value int) []*state.Vote
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncryptionKeyAsECCPoint ¶
EncryptionKeyAsECCPoint returns the encryption key of the state as an ecc.Point
func NewRandomState ¶
func NewStateForTest ¶
func NewVoteForTest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.