Module sn_client::client[][src]

Client trait and related constants.

Re-exports

pub use self::map_info::MapInfo;
pub use self::transfer_actor::ClientTransferValidator;
pub use blob_storage::BlobStorage;
pub use blob_storage::BlobStorageDryRun;

Modules

blob_apis

Blob APIs

blob_storage

Blob storage for self encryption.

map_apis

Map APIs

map_info

MapInfo utilities.

sequence_apis

Sequence APIs

transfer_actor

Safe Transfers wrapper, with token APIs

Structs

Client

Client object

SafeTransferActor

The Actor is the part of an AT2 system that initiates transfers, by requesting Replicas to validate them, and then receive the proof of agreement. It also syncs transfers from the Replicas.

Constants

ELDER_SIZE

Elder size

IMMUT_DATA_CACHE_SIZE

Capacity of the immutable data cache.

SEQUENCE_CRDT_REPLICA_SIZE

Capacity of the Sequence CRDT local replica size.

Functions

attempt_bootstrap

Utility function that bootstraps a client to the network. If there is a failure then it retries. After a maximum of three attempts if the boostrap process still fails, then an error is returned.