Structs§
- Authority
- Represents one authority in the committee.
- Authority
Index - Each authority is uniquely identified by its AuthorityIndex in the Committee. AuthorityIndex is between 0 (inclusive) and the total number of authorities (exclusive).
- Authority
KeyPair - Authority
Public Key - Authority key represents the identity of an authority. It is only used for identity sanity checks and not used for verification.
- Committee
- Committee is the set of authorities that participate in the consensus protocol for this epoch. Its configuration is stored and computed on chain.
- Network
KeyPair - Network
Private Key - Network
Public Key - Network key is used for TLS and as the network identity of the authority.
- Parameters
- Operational configurations of a consensus authority.
- Protocol
KeyPair - Protocol
KeySignature - Protocol
Public Key - Protocol key is used for signing blocks and verifying block signatures.
- Tonic
Parameters
Constants§
Functions§
- local_
committee_ and_ keys - Creates a committee for local testing, and the corresponding key pairs for the authorities.
Type Aliases§
- Default
Hash Function - Defines algorithm and format of block and commit digests.
- Epoch
- Committee of the consensus protocol is updated each epoch.
- Stake
- Voting power of an authority, roughly proportional to the actual amount of IOTA staked by the authority. Total stake / voting power of all authorities should sum to 10,000.