L2-Technology / sensei

A lightning node implementation for everyone
https://l2.technology/sensei
Other
198 stars 39 forks source link

Add endpoint for decoding invoices #63

Closed w3irdrobot closed 2 years ago

w3irdrobot commented 2 years ago

Part of #21. Requested by @louneskmt. This should work. I kind of guessed what information would be needed from the endpoint. :man_shrugging:

johncantrell97 commented 2 years ago

can you add grpc support for this as well? it shouldn't be much more since both grpc/http both use the same service implementation you already wrote. will just need to update the proto and then the grpc/node.rs implementation for it.

I'd like to make sure we don't let the grpc interface fall behind.

also can you rebase and fix the conflict in src/services/node.rs --- let me know if you need help there