2

When running node it is useful to know which version you're running so you're up to date. Does anyone know which command do I have to execute to know which version of Tezos I am running? Thanks,

3

There is an RPC for this now, merged here.

It is GET /monitor/commit_hash and it just returns the commit hash as a JSON string.

You can also see this in tezos-node --help | tail -n 1.

(Of course, one also needs to make sure any tezos-client and daemons are at a compatible version. These don't seem to know their own commit hash yet.)

1

I use this command inside the folder where I compile the binaries

git describe --always

1
  • Thanks for this! Oct 11 '19 at 12:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.