UNPKG

@neo-one/server-plugin-network

Version:

NEO•ONE Server network plugin.

13 lines (12 loc) 582 B
import { Monitor } from '@neo-one/monitor'; import { FullNode } from '@neo-one/node'; import { Config } from '@neo-one/server-plugin'; import { NEOONENodeConfig } from './node'; export declare const createFullNode: ({ dataPath, nodeConfig, monitor, chainFile, dumpChainFile, onError, }: { readonly dataPath: string; readonly nodeConfig: Config<NEOONENodeConfig>; readonly monitor: Monitor; readonly chainFile?: string | undefined; readonly dumpChainFile?: string | undefined; readonly onError?: ((error: Error) => void) | undefined; }) => Promise<FullNode>;