-
Notifications
You must be signed in to change notification settings - Fork 40
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
Use the peerswaprpc proto file for shared serialization #134
Comments
Hello @nepet Can I take up this issue? |
Hey @NonsoAmadi10, welcome aboard! This issue is not worked out really well and I am certain that I was a bit quick with the
We currently maintain two different data models. The grpc stubs are generated from the One idea was to use the messages that are generated from Any thoughts? |
Using the generated messages from the I am not quite conversant with proto buffers but I won't mind working on it if I get to understand clearly where all this pieces fit in. My answer is based on the context you defined above. I hope I made sense |
Lnd already uses the generated stubs from the Did you join our discord server? Most of the peerswap operators are members of our discord server and we could ask who would be affected by any changes before we make them. Cheers! |
@nepet @NonsoAmadi10 I already have to adjust some of the response signatures for CLN as they are outdated. I wouldn't mind to update some more responses. So I am not worried about backward compatibility right now. Rather it will be helpful when we will implement peerswap UI on LND. |
Hello @nepet I am considering a policy of using messages generated from Also, it looks like the short channel id and state for I have created a draft #231 to show you my thoughts. |
Currently we don't have a shared serialization for peerswapd and the cln-plugin.
We should take advantage of the peerswaprpc proto file and use the generated stubs for the responses of the cln-plugin.
The text was updated successfully, but these errors were encountered: