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

protocols/kad: Refactor KademliaEvent #2297

Closed
wants to merge 5 commits into from

Conversation

supercmmetry
Copy link
Contributor

@supercmmetry supercmmetry commented Oct 16, 2021

  • Refactored InboundPutRecordRequest to InboundRequest::PutRecord
  • Refactored InboundAddProviderRequest to InboundRequest::AddProvider
  • Refactored KademliaEvent::InboundRequestServed to KademliaEvent::InboundRequest

Closes #2283

- Refactored InboundPutRecordRequest to InboundRequest::PutRecord
- Refactored InboundAddProviderRequest to InboundRequest::AddProvider
- Refactored KademliaEvent::InboundRequestServed to KademliaEvent::InboundRequest

Signed-off-by: supercmmetry <vishaals2000@gmail.com>
- Remove doclink for InboundPutRecordRequest
- Remove doclink for InboundAddProviderRequest

Signed-off-by: supercmmetry <vishaals2000@gmail.com>
Copy link
Member

@mxinden mxinden left a comment

Choose a reason for hiding this comment

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

A couple of comments, mostly on the documentation side. Thanks for looking into this.

protocols/kad/src/behaviour.rs Outdated Show resolved Hide resolved
protocols/kad/src/behaviour.rs Show resolved Hide resolved
protocols/kad/src/behaviour.rs Show resolved Hide resolved
Signed-off-by: supercmmetry <vishaals2000@gmail.com>
Signed-off-by: supercmmetry <vishaals2000@gmail.com>
@supercmmetry
Copy link
Contributor Author

@mxinden can you check if there is anything else you need?

@mxinden
Copy link
Member

mxinden commented Oct 30, 2021

Merged via #2321. Thanks @supercmmetry for the help!

@mxinden mxinden closed this Oct 30, 2021
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.

Refactor KademliaEvent
2 participants