Hierarchy

  • ILitNodeClient

Implemented by

Properties

connectedNodes: Set<string>
latestBlockhash: string
networkPubKey: string
networkPubKeySet: string
ready: boolean
serverKeys: Record<string, JsonHandshakeResponse>
subnetPubKey: string

Methods

  • we need to send jwt params iat (issued at) and exp (expiration) because the nodes may have different wall clock times, the nodes will verify that these params are withing a grace period

    Returns {
        exp: number;
        iat: number;
    }

    • exp: number
    • iat: number
  • Get Signature

    Returns

    signature

    Parameters

    • shareData: any[]

      from all node promises

    • requestId: string

    Returns Promise<any>

Generated using TypeDoc