Crate sn_interface
source · [−]Expand description
SAFE network data types.
Re-exports
pub use network_knowledge::elder_count;
pub use network_knowledge::SectionAuthorityProvider;
Modules
The Safe Network messaging interface.
Instrumentation for statemaps: https://github.com/TritonDataCenter/statemap
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.