Crate pallet_duniter_wot
source ·Expand description
§Duniter Web of Trust Pallet
Duniter Web of Trust (WoT) lies at the heart of its identity system, representing a significant improvement over PGP Web of Trust. It functions as a dynamic directed graph where nodes are identities and edges are certifications.
§Instances
Duniter WoT consists of two distinct instances:
- Main WoT: Designed for every human participant in the Duniter network.
- Smith Sub-WoT: Intended for authorities.
§Rules
The Duniter WoT operates under a set of static and dynamic rules that govern membership conditions.
§Static Rules
- Minimum Received Certifications (Min Indegree): Specifies the minimum number of certifications an identity must receive to join the WoT.
- Maximum Emitted Certifications (Max Outdegree): Limits the maximum number of certifications an identity can issue.
- Distance Criterion: Governed by the distance pallet, it defines the permissible distance between identities within the WoT graph.
§Dynamic Rules
- Time Interval Between Certifications: Sets the minimum time interval required between two consecutive certifications issued by the same identity.
- Certification Duration: Managed by the certification pallet, it determines the validity duration of a certification.
- Membership Renewal: Regulates the frequency and conditions under which an identity must renew its membership within the WoT.
This pallet is responsible for enforcing and validating the rules of the Duniter Web of Trust. It ensures compliance with both static prerequisites for joining and dynamic conditions for ongoing participation.
Re-exports§
pub use pallet::*;
Modules§
- The
pallet
module in each FRAME pallet hosts the most important items needed to construct this pallet.
Functions§
- Checks the certificate count for an identity.