Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • unknown
    • GetPeersRequest

Index

Constructors

Methods

  • addReportedPeers(value?: Peer, index?: number): Peer
  • Parameters

    • Optional value: Peer
    • Optional index: number

    Returns Peer

  • Parameters

    • value: number
    • Optional index: number

    Returns GetPeersRequest

  • getNonce(): number
  • Returns number

  • getReportedPeersList(): Peer[]
  • Returns Peer[]

  • Returns undefined | NodeAddress

  • getSupportedCapabilitiesList(): number[]
  • Returns number[]

  • hasSenderNodeAddress(): boolean
  • Returns boolean

  • serializeBinary(): Uint8Array
  • Returns Uint8Array

  • Parameters

    • value: number

    Returns GetPeersRequest

  • Parameters

    • value: number[]

    Returns GetPeersRequest

  • Parameters

    • bytes: Uint8Array

    Returns GetPeersRequest

  • serializeBinaryToWriter(message: GetPeersRequest, writer: BinaryWriter): void
  • Parameters

    Returns void

Generated using TypeDoc