Add version field to GetInfo RPC endpoint

This is inspired by the Bitcoin RPC `getnetworkinfo` endpoint which also
includes version information:
https://bitcoin.org/en/developer-reference#getnetworkinfo
This commit is contained in:
mecampbellsoup committed 2018-04-10 09:27:44 -04:00
1 parent 12cb35a6c9
commit bd398540c1
5 files changed
+358 -339

No files matched your search

+1 -1
View File
@@ -160,4 +160,4 @@ $ git reset --hard f2862b476edcef83412c7af8687c9cd8e4097c0f
$ go install ./protoc-gen-grpc-gateway ./protoc-gen-swagger
```
4. Run `gen_protos.sh` to generate new protobuf definitions.
4. Run [`gen_protos.sh`](https://github.com/lightningnetwork/lnd/blob/master/lnrpc/gen_protos.sh) to generate new protobuf definitions.