Crate duniter_wotb [−] [src]
wotb
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/wotb Javascript test.
Re-exports
pub use legacy::LegacyWebOfTrust; |
Modules
legacy |
Provide a legacy implementation of |
rusty |
Experimental implementation of the Web of Trust in a more "rusty" style. |
Structs
NodeId |
Wrapper for a node id. |
WotDistance |
Results of |
WotDistanceParameters |
Paramters for |
Enums
HasLinkResult |
Results of a certification test. |
NewLinkResult |
Results of a certification, with the current certification count of the destination as parameter. |
RemLinkResult |
Results of a certification removal, with the current certification count of the destination as parameter. |
WotParseError |
Results of |
WotWriteError |
Results of |
Traits
WebOfTrust |
Trait for a Web Of Trust.
Allow to provide other implementations of the |