Skip to content

*: Add Serialize and Deserialize to PeerId gossipsub MessageId and kad Key #2408

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

Merged
merged 17 commits into from
Jan 11, 2022

Conversation

laptou
Copy link
Contributor

@laptou laptou commented Dec 29, 2021

Continuation of #2405 on a new branch.

Copy link
Contributor

@thomaseizinger thomaseizinger left a comment

Choose a reason for hiding this comment

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

One more suggestion on how we can use serde as the feature name. That would be a cleaner API IMO :)

Copy link
Contributor

@thomaseizinger thomaseizinger left a comment

Choose a reason for hiding this comment

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

Nice, thank you!

Sorry for the turn-around but I have another concern.

@laptou
Copy link
Contributor Author

laptou commented Dec 30, 2021

I also derived Serialize, Deserialize for kad::store::record::Key. Let me know if you want this in a separate PR, or if I can squeeze it into this one 😁

Copy link
Contributor

@thomaseizinger thomaseizinger left a comment

Choose a reason for hiding this comment

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

Thanks for this effort!

One non-blocking comment so good to go in from my side. Any more considerations @mxinden ?

@laptou laptou requested a review from mxinden January 10, 2022 19:03
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.

Thanks @laptou!

@mxinden mxinden changed the title core: Add Serialize and Deserialize to PeerId and MessageId *: Add Serialize and Deserialize to PeerId gossipsub MessageId and kad Key Jan 11, 2022
@mxinden mxinden merged commit 5617481 into libp2p:master Jan 11, 2022
@laptou laptou deleted the use-serde branch January 11, 2022 21:11
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.

3 participants