interface PeersByDiscoveryResult {
    CONNECTED: {
        bootstrap: Peer[];
        local-peer-cache: Peer[];
        peer-exchange: Peer[];
    };
    DISCOVERED: {
        bootstrap: Peer[];
        local-peer-cache: Peer[];
        peer-exchange: Peer[];
    };
}

Properties

CONNECTED: {
    bootstrap: Peer[];
    local-peer-cache: Peer[];
    peer-exchange: Peer[];
}

Type declaration

  • bootstrap: Peer[]
  • local-peer-cache: Peer[]
  • peer-exchange: Peer[]
DISCOVERED: {
    bootstrap: Peer[];
    local-peer-cache: Peer[];
    peer-exchange: Peer[];
}

Type declaration

  • bootstrap: Peer[]
  • local-peer-cache: Peer[]
  • peer-exchange: Peer[]