-
Notifications
You must be signed in to change notification settings - Fork 708
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
Why is ExtendedPeerInfo
private in release-polkadot-v1.6.0
?
#3556
Comments
The idea is to get rid of This could have been a simple oversight during refactoring but is there a particular reason you need access to |
Yes, I was using it to get a list of connected peers in |
Do you want to open a PR, making |
Can you not just copy this type? Is this type somewhere returned by a function? |
I can't copy it because I'm using this
|
This PR makes `sc-network-sync` types public following [this](paritytech#3556) issue. Fixes paritytech#3556
I was working on a custom consensus mechanism for Substrate on branch
release-polkadot-v1.2.0
, but there was a conflict with some of the dependencies due to which I had to upgrade it to therelease-polkadot-v1.6.0
, and I noticed that ExtendPeerInfo was moved fromsc-network-common
tosc-network-sync
in this PR.The issue that I'm facing is the
ExtendedPeerInfo
struct is now under thetypes
module which is private so I can't access its components.I wanted to ask if this was intentional and if there's any other way to access that struct?
The text was updated successfully, but these errors were encountered: