[−][src]Crate sc_service
Substrate service. Starts a thread that spins up the network, client, and extrinsic pool. Manages communication between them.
Re-exports
pub use self::error::Error; |
pub use config::Configuration; |
pub use config::DatabaseConfig; |
Modules
| chain_ops | Chain utilities. |
| config | Service configuration. |
| error | Errors that can occur during the service operation. |
Structs
| GenericChainSpec | A configuration of a chain. Can be used to build a genesis block. |
| NetworkStatus | Overview status of the network. |
| RpcMetadata | RPC Metadata. |
| RpcSession | An RPC session. Used to perform in-memory RPC queries (ie. RPC queries that don't go through the HTTP or WebSockets server). |
| Service | Substrate service. |
| ServiceBuilder | Aggregator for the components required to build a service. |
| SpawnTaskHandle | An handle for spawning tasks in the service. |
| TaskManagerBuilder | Helper struct to setup background tasks execution for service. |
| TransactionPoolAdapter | Transaction pool adapter. |
| TransactionPoolOptions | Pool configuration options. |
Enums
| ChainType | The type of a chain. |
| PruningMode | Pruning mode. |
| Role | Role of the local node. |
| TracingReceiver | Used to configure how to receive the metrics |
Traits
| AbstractService | Abstraction over a Substrate service. |
| ChainSpec | Common interface of a chain specification. |
| ChainSpecExtension | A collection of |
| InPoolTransaction | In-pool transaction interface. |
| IntoPoolError | Transaction pool error conversion. |
| MallocSizeOfWasm | A type that implements |
| NativeExecutionDispatch | Delegate for dispatching a CodeExecutor call. |
| RuntimeGenesis | A set of traits for the runtime genesis config. |
| ServiceBuilderCommand | Implemented on |
| TransactionPool | Transaction pool interface. |
Functions
| new_full_client | Creates a new full client for the given config. |
Type Definitions
| FinalityNotifications | A stream of block finality notifications. |
| NoExtension | A type denoting empty extensions. |
| Properties | Arbitrary properties defined in chain spec as a JSON object |
| TFullBackend | Full client backend type. |
| TFullCallExecutor | Full client call executor type. |
| TFullClient | Full client type. |
| TLightBackend | Light client backend type. |
| TLightCallExecutor | Light call executor type. |
| TLightClient | Light client type. |