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).
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 newgetversion
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).