interface FullNode {
    connectionManager: IConnectionManager;
    filter: IFilterSDK;
    libp2p: Libp2p;
    lightPush: ILightPushSDK;
    relay: IRelay;
    store: IStoreSDK;
    dial(peer, protocols?): Promise<Stream>;
    isConnected(): boolean;
    isStarted(): boolean;
    start(): Promise<void>;
    stop(): Promise<void>;
}

Hierarchy (view full)

Properties

connectionManager: IConnectionManager
filter: IFilterSDK
libp2p: Libp2p
lightPush: ILightPushSDK
relay: IRelay
store: IStoreSDK

Methods

  • Parameters

    • peer: PeerId | MultiaddrInput
    • Optional protocols: Protocols[]

    Returns Promise<Stream>

  • Returns boolean

  • Returns boolean

  • Returns Promise<void>

  • Returns Promise<void>

Generated using TypeDoc