Module sn_interface::types
source · Expand description
SAFE network data types.
Modules
public key types (ed25519)
Module providing keys, keypairs, and signatures.
Standardised log markers for various events
Register data type
Encoding utils
Structs
BLS keypair share.
Chunk, an immutable chunk of data
Address of a Chunk.
This is used at a network node for holding the
obligatory Ed25519 keypair needed as Adult, and
then a BLS keypair share when being promoted to Elder.
(Also the corresponding public keys).
The Ed25519 is kept as Elder, in case it is demoted.
A Peer with name, derived from its
PublicKey, and an address.Address of a Register, different from
a
ChunkAddress in that it also includes a tag.Register data exchange.
Signature created when a quorum of the section elders has agreed on something.
A signature share, with its index in the combined collection.
Address of a Spentbook.
Enums
An address of data on the network
Errors that can occur when interactive with client messaging APIs.
Main error type for the crate.
Wrapper for different keypair types.
Entity that owns the data or tokens.
Wrapper for different public key types.
A
Register cmd that is stored in a log on Adults.Wrapper for different secret key types.
Wrapper for different signature types.
Constants
Maximum allowed size for a serialised Chunk to grow to.
Traits
Ability to encrypt and decrypt bytes
Ability to sign and validate data/tokens, as well as specify the type of ownership of that data
Type Definitions
A specialised
Result type for types crate.