Crate dubp_wot

Crate dubp_wot 

Source
Expand description

wot is a crate making “Web of Trust” computations for the Duniter project.

It defines a trait representing a Web of Trust and allow to do calculations on it.

It also contains an “legacy” implementation translated from the original C++ code.

Web of Trust tests are translated from duniter/wot Javascript test.

Re-exports§

pub use crate::data::WebOfTrust;
pub use crate::data::WotId;

Modules§

data
Provide data structures to manage web of trusts. LegacyWebOfTrust is almost a translation of the legacy C++ coden while RustyWebOfTrust is a brand new implementation with a more “rusty” style.
operations
Provide operation traits and implementations on WebOfTrust objects.

Statics§

MAIN_WOT
Main wot instance