getpeers: Difference between revisions

From Talleo Wiki
Jump to navigation Jump to search
(Created page with "== Input == {| class="wikitable" ! Argument !! Mandatory !! Description !! Format |- | colspan="4" | none |} == Output == {| class="wikitable" ! Argument !! Description !! Fo...")
 
No edit summary
 
Line 17: Line 17:
== Description ==
== Description ==
* This method returns the list of peers in white list as array of strings. White list contains recently seen peers.
* This method returns the list of peers in white list as array of strings. White list contains recently seen peers.
== Usage ==
=== cURL ===
* <nowiki>curl http://127.0.0.1:33888/getpeers</nowiki>

Latest revision as of 12:59, 24 March 2020

Input

Argument Mandatory Description Format
none

Output

Argument Description Format
status Status of the request, "OK" if successful string
peers List of peers in white list array

Description

  • This method returns the list of peers in white list as array of strings. White list contains recently seen peers.

Usage

cURL

  • curl http://127.0.0.1:33888/getpeers