Module sc_service::chain_ops[][src]

Chain utilities.

Functions

build_light_sync_state

Build a LightSyncState from the CHT roots stored in a backend.

build_spec

Build a chain spec json

check_block

Re-validate known block.

export_blocks

Performs the blocks export.

export_raw_state

Export the raw state at the given block. If block is None, the best block will be used.

import_blocks

Starts the process of importing blocks.

revert_chain

Performs a revert of blocks blocks.