Skip to main content

celocli election

Participate in and view the state of Validator Elections

celocli election:activate

Activate pending votes in validator elections to begin earning rewards. To earn rewards as a voter, it is required to activate your pending votes at some point after the end of the epoch in which they were made.
See code: src/commands/election/activate.ts

celocli election:current

Outputs the set of rpc nodes currently elected. An election is run to select the community rpc node set at the end of every epoch.
See code: src/commands/election/current.ts

celocli election:list

Prints the list of validator groups, the number of votes they have received, the number of additional votes they are able to receive, and whether or not they are eligible to elect validators.
See code: src/commands/election/list.ts

celocli election:revoke

Revoke votes for a Validator Group in validator elections.
See code: src/commands/election/revoke.ts

celocli election:run

Runs a “mock” election and prints out the validators that would be elected if the epoch ended right now.
See code: src/commands/election/run.ts

celocli election:show ARG1

Show election information about a voter or registered Validator Group
See code: src/commands/election/show.ts

celocli election:vote

Vote for a Validator Group in elections.
See code: src/commands/election/vote.ts