Skip to content

Commit

Permalink
Document the change in peers endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Hidenori Shinohara committed Apr 15, 2022
1 parent e654239 commit 0064a59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/software/admin.md
Expand Up @@ -697,6 +697,7 @@ Some notable fields in `info` are:
The `peers` command returns information on the peers the instance is connected to.

This list is the result of both inbound connections from other peers and outbound connections from this node to other peers.
If `compact=false`, then it also returns some extra metrics on each peer such as the number of dropped messages.

`$ stellar-core http-command 'peers'`

Expand Down
5 changes: 3 additions & 2 deletions docs/software/commands.md
Expand Up @@ -179,9 +179,10 @@ format.
Clear metrics for a specified domain. If no domain specified, clear all
metrics (for testing purposes).

* **peers?[&fullkeys=false]**
Returns the list of known peers in JSON format.
* **peers?[&fullkeys=false&compact=true]**
Returns the list of known peers in JSON format with some metrics.
If `fullkeys` is set, outputs unshortened public keys.
If `compact` is `false`, it will output extra metrics.

* **quorum**
`quorum?[node=NODE_ID][&compact=false][&fullkeys=false][&transitive=false]`<br>
Expand Down

5 comments on commit 0064a59

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from MonsieurNicolas
at hidenori-shinohara@0064a59

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging hidenori-shinohara/stellar-core/peers-endpoint = 0064a59 into auto

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hidenori-shinohara/stellar-core/peers-endpoint = 0064a59 merged ok, testing candidate = 9d0704e

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 9d0704e

Please sign in to comment.