Expand description
Core data-types used in the Linera protocol.
Structs§
- Amount
- A non-negative amount of tokens.
- Application
Description - Description of a user application.
- Application
Permissions - Permissions for applications on a chain.
- Blob
- A blob of binary data, with its hash.
- Blob
Content - A blob of binary data.
- Block
Height - A block height to identify blocks in a chain.
- Bytecode
- A WebAssembly module’s bytecode.
- Chain
Description - Initial chain configuration and chain origin.
- Compressed
Bytecode - A compressed WebAssembly module’s bytecode.
- Epoch
- A number identifying the configuration of the chain (aka the committee).
- Event
- An event recorded in a block.
- Initial
Chain Config - The initial configuration for a new chain.
- Network
Description - A description of the current Linera network to be stored in every node’s database.
- Resources
- Resources that an application may spend during the execution of transaction or an application call.
- Send
Message Request - A request to send a message.
- Stream
Update - An update for a stream with new events.
- Time
Delta - A duration in microseconds.
- Timestamp
- A timestamp, in microseconds since the Unix epoch.
Enums§
- Arithmetic
Error - An error type for arithmetic errors.
- Chain
Origin - What created a chain.
- Decompression
Error - A type for errors happening during decompression.
- Oracle
Response - A record of a single oracle response.
- Parse
Amount Error - Round
- An identifier for successive attempts to decide a value in a consensus protocol.
Traits§
- Block
Height Range Bounds - Allows converting
BlockHeight
ranges to inclusive tuples of bounds.