xaya / taurion_gsp

Taurion - A Fully Decentralised MMO built for the Xaya Platform.
https://taurion.io
GNU General Public License v3.0
23 stars 10 forks source link

RPC to get GSP version #172

Closed domob1812 closed 4 years ago

domob1812 commented 4 years ago

This adds a script to auto-generate a version string from git describe and compile it into the binary, so that the exact commit is known to the GSP. It is logged on startup, and also returned by the new getversion RPC method. For Charon clients, the RPC method returns both the client and server version (i.e. it forwards the call to the server, but then extends the result also with the local version information).

domob1812 commented 4 years ago

Merged to 0.3 (to be included in the upcoming v0.3.1 release) in ada0d3b97e7cb613234b80d7b3ebbbcfbc36ba5a.