Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

feat: query peers from the /net_info endpoint #188

Open
boojamya opened this issue Jul 18, 2022 · 0 comments
Open

feat: query peers from the /net_info endpoint #188

boojamya opened this issue Jul 18, 2022 · 0 comments
Assignees

Comments

@boojamya
Copy link
Contributor

curl command:

curl -s localhost:26657/net_info | jq -r '.result.peers[] | "\(.node_info.id) \(.remote_ip)"' `

Bonus: add argument to pass in a config file and automatically sed some peers into config

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant