[][src]Module overlord::types

Message types using in the overlord consensus protocol.

Structs

AggregatedChoke

An aggregated choke.

AggregatedSignature

An aggregate signature.

AggregatedVote

An aggregated vote.

Choke

A choke.

Commit

A commit.

Node

A node info.

PoLC

A PoLC.

Proof

A Proof.

Proposal

A proposal

SignedChoke

A signed choke.

SignedProposal

A signed proposal.

SignedVote

A signed vote.

Status

A rich status.

Vote

A vote.

Enums

OverlordMsg

Overlord messages.

Role

There are three roles in overlord consensus protocol, leader, relayer and others. Leader needs to propose proposal in a round to propel consensus process. Relayer is the node that responsible to aggregate vote. The others node only vote for a proposal and receive QCs. To simplify the process, the leader and the relayer will be a same node which means leader will alse do what relayer node do.

UpdateFrom

How does state goto the current round.

VoteType

Vote or QC types. Prevote and precommit QC will promise the rightness and the final consistency of overlord consensus protocol.

Type Definitions

Address

Address type.

Hash

Hash type.

Signature

Signature type.