ceremonyclient/node/protobufs
Marius Scurtescu a0659fec83
add -node-info command (#141)
* add version label and trim repo url

* add README for protobufs

* add version to NodeInfoResponse

* add docker login task

* remove version from docker compose file

* return version with GetNodeInfo response

* add basic -node-info flag

* print max frame as well with -node-info

* expand protobuf README

* update node command examples to use node binary and make log commands follow

* return all of NodeInfo

* extract FormatVersion

* print version of running process
2024-03-24 03:11:58 -05:00
..
application.pb.go DHT Bootstrap Verification 2023-09-03 18:47:09 -05:00
application.proto DHT Bootstrap Verification 2023-09-03 18:47:09 -05:00
ceremony_grpc.pb.go v1.3.0 (#81) 2024-02-28 03:00:20 -06:00
ceremony.go v1.4.0 (#86) 2024-03-01 01:12:31 -06:00
ceremony.pb.go v1.4.11 (#139) 2024-03-21 02:14:45 -05:00
ceremony.pb.gw.go v1.3.0 (#81) 2024-02-28 03:00:20 -06:00
ceremony.proto v1.4.11 (#139) 2024-03-21 02:14:45 -05:00
channel.pb.go DHT Bootstrap Verification 2023-09-03 18:47:09 -05:00
channel.proto DHT Bootstrap Verification 2023-09-03 18:47:09 -05:00
clock.go v1.2.4 (#43) 2024-02-13 01:04:56 -06:00
clock.pb.go v1.3.0 (#81) 2024-02-28 03:00:20 -06:00
clock.proto v1.3.0 (#81) 2024-02-28 03:00:20 -06:00
keys.go DHT Bootstrap Verification 2023-09-03 18:47:09 -05:00
keys.pb.go 1.0.0 – Dawn 2023-09-24 21:43:35 -05:00
keys.proto 1.0.0 – Dawn 2023-09-24 21:43:35 -05:00
Makefile 1.1.2 – Experimental gRPC/REST Support 2023-10-08 23:52:19 -05:00
node_grpc.pb.go v1.4.3 (#104) 2024-03-07 23:05:04 -06:00
node.pb.go add -node-info command (#141) 2024-03-24 03:11:58 -05:00
node.pb.gw.go v1.4.3 (#104) 2024-03-07 23:05:04 -06:00
node.proto add -node-info command (#141) 2024-03-24 03:11:58 -05:00
protobufs.go v1.4.1 (#94) 2024-03-03 21:20:24 -06:00
README.md add -node-info command (#141) 2024-03-24 03:11:58 -05:00

The protoc ProtoBuf most be installed, currently version 3.21.12 is being used: https://github.com/protocolbuffers/protobuf/releases/tag/v21.12

The versioning is rather confusing, described here: https://protobuf.dev/support/version-support/

Most likely you want https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip

Very summary installation instructions are in an enclosed readme,txt file.

You can try to install from apt on Ubuntu, but you have no control on what exact version you are getting:

sudo apt install protobuf-compiler

Also install the following protoc plugins:

go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.30.0
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.3.0
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@v2.18.0

In order to rebuild the ProtoBuf interfaces, in case you make changes to any of the *.proto files, run make in this folder.