Expand description
Subcoin service implementation. Specialized wrapper over substrate service.
Modules§
- chain_
spec - network_
request_ handler - Helper for answering the subcoin specific requests from a remote peer via the request-response protocol.
- transaction_
pool
Structs§
- Coin
Storage Key - This struct implements the trait
subcoin_primitives::CoinStorageKey
. - Genesis
Block Builder - Subcoin genesis block builder.
- Node
Components - Subcoin node components.
- Subcoin
Configuration - Subcoin node configuration.
- Subcoin
Executor Dispatch - Subcoin executor.
- Subcoin
Finalizer - This struct is responsible for finalizing blocks with enough confirmations.
- Transaction
Adapter - Responsible for doing the conversion between Bitcoin transaction and Substrate extrinsic.
Functions§
- initialize_
genesis_ block_ hash_ mapping - Insert the genesis block hash mapping into aux-db.
- new_
node - Creates a new subcoin node.
- new_
partial - Creates a partial node, for the chain ops commands.
- start_
substrate_ network - Runs the Substrate networking.
Type Aliases§
- Chain
Spec - This is a specialization of the general Substrate ChainSpec type.
- Full
Backend - Full
Client - Disk backend client type.