Module linera_base::data_types
source · Expand description
Core data-types used in the Linera protocol.
Structs§
- A non-negative amount of tokens.
- Permissions for applications on a chain.
- A blob of binary data, with its hash.
- A blob of binary data.
- A block height to identify blocks in a chain.
- A WebAssembly module’s bytecode.
- A compressed WebAssembly module’s bytecode.
- An event recorded in an executed block.
- Resources that an application may spend during the execution of transaction or an application call.
- A request to send a message.
- A duration in microseconds.
- A timestamp, in microseconds since the Unix epoch.
- Description of the necessary information to run a user application.
Enums§
- An error type for arithmetic errors.
- A type for errors happening during decompression.
- A record of a single oracle response.
- An identifier for successive attempts to decide a value in a consensus protocol.