RAILGUN Reloaded
    Preparing search index...

    Type Alias AtomicSnapshotBootstrapParams

    Inputs for bootstrapSnapshotAtomically.

    type AtomicSnapshotBootstrapParams = {
        chainId: number;
        cid: string;
        endHeight: bigint;
        dataSource: SourceAggregator<EVMBlock>;
        publicClient: PublicClient;
        dataDir?: string;
    }
    Index
    chainId: number

    Chain ID of a configured deployment.

    cid: string

    IPFS CID of the snapshot. The bootstrap records it in the marker and the checkpoint.

    endHeight: bigint

    Last block of the snapshot, inclusive. The scan must reach exactly this block.

    Source of blocks. The caller owns it; the bootstrap does not destroy it.

    publicClient: PublicClient

    Public client that reads the contract tree state at endHeight.

    dataDir?: string

    Wallet-sdk data directory. Defaults to ./.railgun.