Expand description
This module manages the execution of the system application and the user applications in a Linera chain.
Re-exports§
- pub use crate::committee::Committee;
- pub use crate::execution_state_actor::ExecutionRequest;
- pub use crate::execution_state_actor::ExecutionStateActor;
- pub use crate::system::SystemExecutionStateView;
- pub use crate::system::SystemMessage;
- pub use crate::system::SystemOperation;
- pub use crate::system::SystemQuery;
- pub use crate::system::SystemResponse;
Modules§
- committee
- execution_state_ actor 
- Handle requests from the synchronous execution thread of user applications.
- system
Structs§
- BlobState 
- The state of a blob of binary data.
- ExecutionRuntime Config 
- Configuration options for the execution runtime available to applications.
- ExecutionState View 
- A view accessing the execution state of a chain.
- FinalizeContext 
- InvalidWasm Runtime 
- Attempts to create an invalid WasmRuntimeinstance from a string.
- MessageContext 
- OperationContext 
- OutgoingMessage 
- A posted message together with routing information.
- ProcessStreams Context 
- QueryContext 
- QueryOutcome 
- The outcome of the execution of a query.
- ResourceControl Policy 
- A collection of prices and limits associated with block execution.
- ResourceController 
- ResourceTracker 
- The resources used so far by an execution process. Acts as an accumulator for all resources consumed during a specific execution flow. This could be the execution of a block, the processing of a single message, or a specific phase within these broader operations.
- ServiceRuntime Endpoint 
- How to interact with a long-lived service runtime.
- ServiceSync Runtime 
- TransactionOutcome 
- The TransactionTrackercontents after a transaction has finished.
- TransactionTracker 
- Tracks oracle responses and execution outcomes of an ongoing transaction execution, as well as replayed oracle responses.
- UserContract Code 
- An implementation of UserContractModule.
- UserService Code 
- An implementation of UserServiceModule.
Enums§
- EvmRuntime
- ExecutionError 
- A type for errors happening during execution.
- Message
- A message to be sent and possibly executed in the receiver’s block.
- MessageKind 
- The kind of outgoing message being sent.
- Operation
- An operation to be executed in a block.
- Query
- An query to be sent and possibly executed in the receiver’s block.
- QueryResponse 
- The response to a query.
- ServiceRuntime Request 
- A request to the service runtime actor.
- WasmRuntime 
- The runtime to use for running the application.
Constants§
- LINERA_SOL 
- The Linera.sollibrary code to be included in solidity smart contracts using Linera features.
- LINERA_TYPES_ SOL 
Traits§
- BalanceHolder 
- How to access the balance of an account.
- BaseRuntime 
- ContractRuntime 
- ExecutionRuntime Context 
- Requirements for the extrafield in our state views (and notably theExecutionStateView).
- ServiceRuntime 
- UserContract 
- The public entry points provided by the contract part of an application.
- UserContract Module 
- A factory trait to obtain a UserContractfrom aUserContractModule
- UserService 
- The public entry points provided by the service part of an application.
- UserService Module 
- A factory trait to obtain a UserServicefrom aUserServiceModule
- WithWasm Default 
- Trait used to select a default WasmRuntime, if one is available.
Type Aliases§
- ContractSync Runtime Handle 
- ServiceSync Runtime Handle 
- UserContract Instance 
- An implementation of UserContract.
- UserService Instance 
- An implementation of UserService.