go get -u google.golang.org/grpc
go get -u github.com/golang/protobuf/proto
go get -u github.com/golang/protobuf/protoc-gen-go
Package structure
grpc/proto/ - a copy of proto files from protobuf-schemas project. Files are copied from folders proto/waves/ and proto/waves/node/grpc. And import directives updated afterwards to reflect the flat structure.
grpc/generated - code generated from proto files.
grpc/server - gRPC server implementation (API).
Rebuilding
Before rebuilding it's required to add to all *.proto files the following line:
option go_package = "generated";
Execute the following command to regenerate the code.