cli

package
v0.0.0-...-ccbdc65 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2020 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCmdCredentialPolynomial

func GetCmdCredentialPolynomial(queryRoute string, cdc *codec.Codec) *cobra.Command

func GetCmdGenerateAndPutBallot

func GetCmdGenerateAndPutBallot(cdc *codec.Codec) *cobra.Command

func GetCmdGenerateAndPutVoterCredential

func GetCmdGenerateAndPutVoterCredential(cdc *codec.Codec) *cobra.Command

func GetCmdParameters

func GetCmdParameters(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdParameters fetches the bulletin board's set of parameters

func GetCmdVerifyBallots

func GetCmdVerifyBallots(queryRoute string, cdc *codec.Codec) *cobra.Command

GetCmdVerifyBallots retrieves the list of all ballots and verifies each of them.

func GetCmdVoterCredentials

func GetCmdVoterCredentials(queryRoute string, cdc *codec.Codec) *cobra.Command

func GetQueryCmd

func GetQueryCmd(storeKey string, cdc *codec.Codec) *cobra.Command

func GetTxCmd

func GetTxCmd(storeKey string, cdc *codec.Codec) *cobra.Command

func QueryBallots

func QueryBallots(cliCtx context.CLIContext, cdc *codec.Codec) ([]types.Ballot, error)

func QueryBulletinBoardParameters

func QueryBulletinBoardParameters(cliCtx context.CLIContext, cdc *codec.Codec) (types.Params, error)

func QueryCredentialPolynomial

func QueryCredentialPolynomial(cliCtx context.CLIContext, cdc *codec.Codec) (crypto.Polynomial,
	error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL