Expand description

§Duniter Authority Members Pallet

In a permissioned network, defining the set of authorities and selecting validators for the next session is crucial. The authority members pallet is responsible for this. Specifically, it:

  • Manages a Members set with custom rules.
  • Implements the SessionManager trait from the FRAME session pallet.

§Entering the Set of Authorities

To become part of Duniter authorities, one must follow these steps:

  1. Become a member of the main web of trust.
  2. Request membership to the smith sub web of trust.
  3. Obtain enough certifications to gain smith membership.
  4. Claim membership to the set of authorities.

After becoming an authority, one can “go online” and “go offline” to enter or leave two sessions later.

§Some Vocabulary

Smiths are individuals allowed to forge blocks. Specifically, this entails:

  • Smith status is required to become an authority.
  • Authority status is required to become a validator.
  • Validator status is required to add blocks.

Re-exports§

Modules§

  • Implementation of the Slashing execution logic.
  • The pallet module in each FRAME pallet hosts the most important items needed to construct this pallet.
  • types 🔒
    Various basic types for use in the certification pallet.

Structs§

  • Represents data associated with a member.

Functions§

Type Aliases§

  • Simple index type with which we can count sessions.