Crate sn_interface
source · [−]Expand description
SAFE network data types.
Re-exports
pub use network_knowledge::elder_count;
pub use network_knowledge::SectionAuthorityProvider;
Modules
Standardised messaging interface The Safe Network messaging interface.
Knowledge of the safe network
Types on the safe network SAFE network data types.
Structs
Tracing log formatter setup for easier span viewing
Functions
The least number of Elders to select, to be “guaranteed” one correctly functioning Elder. This number will be 3 with 7 Elders.
Get the expected chunk copy count for our network. Defaults to DEFAULT_DATA_COPY_COUNT, but can be overridden by the env var SN_DATA_COPY_COUNT.
Max number of faulty Elders is assumed to be less than 1/3. So it’s no more than 2 with 7 Elders.
Max number of faulty Elders is assumed to be less than 1/3. So it’s no more than 2 with 7 Elders.