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 'inbound' field to admin_peers JSON-RPC Call #7461

Merged
merged 3 commits into from
Aug 16, 2024

Conversation

7suyash7
Copy link
Contributor

Adds an 'inbound' field to the network information returned by the admin_peers JSON-RPC Call.

Resolves #7436

7suyash7 and others added 3 commits August 13, 2024 15:54
Signed-off-by: Sally MacFarlane <[email protected]>
Signed-off-by: Sally MacFarlane <[email protected]>
Copy link
Contributor

@macfarla macfarla left a comment

Choose a reason for hiding this comment

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

LGTM

example output

{"version":"0x5","name":"Geth/v1.13.14-stable-2ecaf439/linux-amd64/go1.22.2","caps":["eth/68","snap/1"],"network":{"localAddress":"172.16.0.2:63518","remoteAddress":"15.204.46.163:30303","inbound":false},"port":"0x0","id":"0xb91040a620d71a5d16431600e396991191b2f079452628a7722c1a14f8dbecdab00a1ea64e354c65ba4b58d67b9afeed913a6b8191fb4108498e10baa17d84c7","protocols":{"eth":{"difficulty":"0xc70d815d562d3cfa955","head":"0x39e83ddfc08b7268950fcf2903f3e8b9c392992204e2faa831d1779273b010d1","version":68}},"enode":"enode://b91040a620d71a5d16431600e396991191b2f079452628a7722c1a14f8dbecdab00a1ea64e354c65ba4b58d67b9afeed913a6b8191fb4108498e10baa17d84c7@15.204.46.163:30303"}

@macfarla macfarla enabled auto-merge (squash) August 16, 2024 00:16
@macfarla macfarla merged commit b2b55a5 into hyperledger:main Aug 16, 2024
40 checks passed
gconnect pushed a commit to gconnect/besu that referenced this pull request Aug 26, 2024
* Add 'inbound' field to admin_peers JSON-RPC Call

Signed-off-by: 7suyash7 <[email protected]>

* added changelog entry

Signed-off-by: Sally MacFarlane <[email protected]>

---------

Signed-off-by: 7suyash7 <[email protected]>
Signed-off-by: Sally MacFarlane <[email protected]>
Co-authored-by: Sally MacFarlane <[email protected]>
Signed-off-by: gconnect <[email protected]>
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.

Add inbound field for admin_peers json-rpc call.
2 participants