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

Look into direct (de)serialization of lightning types (LN-types crate) #6

Open
Kixunil opened this issue Dec 15, 2021 · 2 comments
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Kixunil
Copy link
Owner

Kixunil commented Dec 15, 2021

In principle it should be possible although it may require contributing to prost.

@Kixunil Kixunil added enhancement New feature or request help wanted Extra attention is needed labels Dec 15, 2021
@Evanfeenstra
Copy link

pretty annoying, but you can add derives to the tonic structs in the build.rs file, like this https://github.com/Evanfeenstra/tonic_lnd/blob/add-serde/build.rs#L35

@Kixunil
Copy link
Owner Author

Kixunil commented Jan 18, 2023

I meant replacing the types. But I have an idea how to abuse the feature you mentioned to swap the types. I might try it, but I don't expect to have time soon. Thanks anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants