Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PeerInfo() to get a list of connected spv peers #160

Merged
merged 2 commits into from
Dec 29, 2020

Conversation

beansgum
Copy link
Contributor

@beansgum beansgum commented Jul 29, 2020

PeerInfo() returns information about currently connected spv peers in json.

[
    {
        "id": 1,
        "addr": "127.0.0.1:19108",
        "addr_local": "127.0.0.1:53402",
        "services": "00000005",
        "version": 8,
        "sub_ver": "/dcrwire:0.4.0/dcrd:1.7.0(pre)/",
        "starting_height": 559536,
        "ban_score": 0
    }
]

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

Successfully merging this pull request may close these issues.

2 participants