Typeberry by Fluffy Labs - v0.5.0
    Preparing search index...

    Interface WorkerConfig<TParams, TBlocks, TStates>

    Standardized worker config.

    interface WorkerConfig<TParams = void, TBlocks = BlocksDb, TStates = StatesDb> {
        chainSpec: ChainSpec;
        nodeName: string;
        workerParams: TParams;
        openDatabase(options?: { readonly: boolean }): RootDb<TBlocks, TStates>;
    }

    Type Parameters

    Implemented by

    Index

    Properties

    chainSpec: ChainSpec

    Chain spec.

    nodeName: string

    Node name.

    workerParams: TParams

    Worker parameters.

    Methods