Interface KadDHTComponents

interface KadDHTComponents {
    addressManager: AddressManager;
    connectionManager: ConnectionManager;
    datastore: Datastore<{}, {}, {}, {}, {}, {}, {}, {}, {}, {}>;
    events: TypedEventTarget<Libp2pEvents<ServiceMap>>;
    logger: ComponentLogger;
    metrics?: Metrics;
    peerId: PeerId;
    peerStore: PeerStore;
    privateKey: PrivateKey;
    registrar: Registrar;
}

Properties

addressManager: AddressManager
connectionManager: ConnectionManager
datastore: Datastore<{}, {}, {}, {}, {}, {}, {}, {}, {}, {}>

Type declaration

    Type declaration

      Type declaration

        Type declaration

          Type declaration

            Type declaration

              Type declaration

                Type declaration

                  Type declaration

                    Type declaration

                      metrics?: Metrics
                      peerId: PeerId
                      peerStore: PeerStore
                      privateKey: PrivateKey
                      registrar: Registrar