talaia-labs / rust-teos

The Eye of Satoshi - Lightning Watchtower
https://talaia.watch
MIT License
128 stars 62 forks source link

Create a ping endpoint for the tower #180

Closed sr-gi closed 1 year ago

sr-gi commented 1 year ago

Having an easy way of knowing whether a tower is online without having to send any meaningful data may be useful.

Currently, the only ways that come to mind (for registered towers) are either requesting something or re-registering.

sr-gi commented 1 year ago

Thoughts @mariocynicys?

mariocynicys commented 1 year ago

Yup would be cool to have a ping pong message similar the one used in LN.

iamhardikat11 commented 1 year ago

Hi, Can i take up this Issue?

mariocynicys commented 1 year ago

Hey @iamhardikat11 , Sure you can take a look at it and tell what you think. If you wanna try adding a new http endpoint you might wanna look in teos/src/api/http.rs or in here specifically.

sr-gi commented 1 year ago

Hi, Can i take up this Issue?

Sure thing!

anmode commented 1 year ago

Hi i created the endpoint just testing it. Could i generate pR??

sr-gi commented 1 year ago

Hi i created the endpoint just testing it. Could i generate pR??

Sure, you don't need to ask permission for that 😉