Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "cli/commands/listpeers"

Index

Variables

Const HEADERS

HEADERS: string[] = ['Peer','Pairs','Details',]

Const command

command: "listpeers" = "listpeers"

Const describe

describe: "list connected peers" = "list connected peers"

Functions

Const createTable

  • createTable(): GenericTable<(undefined | null | string | number | false | true | CellOptions)[]>

Const displayTables

  • displayTables(peers: ListPeersResponse.AsObject): void

Const formatLndPubKeys

  • formatLndPubKeys(lndKeys: string[][]): string

Const formatPairList

  • formatPairList(pairs: string[]): string

Const formatPeers

  • formatPeers(peers: ListPeersResponse.AsObject): string[][]

Const handler

  • handler(argv: Arguments): void

Const trimPubKey

  • trimPubKey(key: string): string

Generated using TypeDoc