talaia-labs / rust-teos

The Eye of Satoshi - Lightning Watchtower
https://talaia-labs.github.io/talaia.watch/
MIT License
136 stars 63 forks source link

Print the version on startup #232

Open mariocynicys opened 1 year ago

mariocynicys commented 1 year ago

Would be helpful to print the tower version on startup (and possibly the commit sha as well). This helps in knowing what version produced which logs (which I append into .teos/teosd.log).

sr-gi commented 1 year ago

Current version should be rather easy, commit hash will be trickier

mariocynicys commented 1 year ago

Current version should be rather easy, commit hash will be trickier

I find this one particularly useful in development when I forget which commit/branch I am running on.

sr-gi commented 1 year ago

Current version should be rather easy, commit hash will be trickier

I find this one particularly useful in development when I forget which commit/branch I am running on.

This may be useful https://docs.rs/built/latest/built/

AnmolSirola commented 10 months ago

@sr-gi @mariocynicys Hey guys, I think i would work on this as my first contribution :)