[−][src]Module safe_core::client
Client trait and related constants.
Re-exports
pub use self::account::ClientKeys; |
pub use self::mdata_info::MDataInfo; |
Modules
account | User Account information. |
mdata_info |
|
recoverable_apis | Various APIs wrapped to provide resiliance for common network operations. |
Structs
Inner | Struct containing fields expected by the |
Enums
SafeKey | An enum representing the Full Id variants for a Client or App. |
Constants
COST_OF_PUT | Expected cost of mutation operations. |
IMMUT_DATA_CACHE_SIZE | Capacity of the immutable data cache. |
Traits
AuthActions | This trait implements functions that are supposed to be called only by |
Client | Trait providing an interface for self-authentication client implementations, so they can interface all requests from high-level APIs to the actual routing layer and manage all interactions with it. Clients are non-blocking, with an asynchronous API using the futures abstraction from the futures-rs crate. |
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. |
bootstrap_config | Return the |
req | Send a request and wait for a response. This function is blocking. |
test_create_balance | Create a new mock balance at an arbitrary address. |
wallet_create_balance | Creates a new coin balance on the network. |
wallet_get_balance | Get the balance at the given key's location |
wallet_transfer_coins | Transfer coins |