-
Notifications
You must be signed in to change notification settings - Fork 250
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: column support to ENR, Metadata and Request Manager #6741
Conversation
custody subnet count
support to ENR and Metadata{.async: (raises: [CancelledError]).} = | ||
var peer: Peer | ||
try: | ||
peer = await rman.network.peerPool.acquire() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like peer
is never re-assigned, and right now, it's notionally briefly declared but default-initialized to some meaningless zero-value. It seems like one could do something like var peer = await rman ...
outside the try
, equivalently but avoiding this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
This PR adds
custody_subent_count
to both ENR and Metadata as corresponding field, in peerDAS, it helps peers to filer other peers from the peer pool asfull nodes
andsupernodes
.