Crate sn_interface

source ·
Expand description

SAFE network data types.

Re-exports

Modules

Structs

  • Tracing log formatter setup for easier span viewing

Functions

  • 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.