getaddrmaninfo

Back to network

Summary

Provides information about the node's address manager by returning the number of addresses in the new and tried tables and their sum for all networks.

Description

Provides information about the node's address manager by returning the number of addresses in the new and tried tables and their sum for all networks.

Arguments

None.

Results

  • value (OBJ_DYN): json object with network type as keys
  • network (OBJ): the network (ipv4, ipv6, onion, i2p, cjdns, all_networks)
    • new (NUM): number of addresses in the new table, which represent potential peers the node has discovered but hasn't yet successfully connected to.
    • tried (NUM): number of addresses in the tried table, which represent peers the node has successfully connected to in the past.
    • total (NUM): total number of addresses in both new/tried tables

Examples

qbit-cli getaddrmaninfo
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "getaddrmaninfo", "params": []}' -H 'content-type: application/json' http://127.0.0.1:8352/