Crate durs_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 data::NodeId;
pub use data::WebOfTrust;

Modules

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.
Provide operation traits and implementations on WebOfTrust objects.