run scripts/install_build_tools.sh to make sure build tools are of correct versions

pull/1530/head
Dennis Won 5 years ago
parent ebf750a70d
commit 5d7445ab4f
  1. 2
      README.md
  2. 16
      api/client/service/proto/client.pb.go
  3. 10
      api/proto/message/message.pb.go
  4. 10
      api/service/syncing/downloader/proto/downloader.pb.go

@ -36,6 +36,8 @@ make
```
Note: make sure to run ``` scripts/install_build_tools.sh ```to make sure build tools are of correct versions.
## Build
If you want to bypass the Makefile:

@ -8,8 +8,6 @@ import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
)
@ -390,20 +388,6 @@ type ClientServiceServer interface {
GetStakingContractInfo(context.Context, *StakingContractInfoRequest) (*StakingContractInfoResponse, error)
}
// UnimplementedClientServiceServer can be embedded to have forward compatible implementations.
type UnimplementedClientServiceServer struct {
}
func (*UnimplementedClientServiceServer) FetchAccountState(ctx context.Context, req *FetchAccountStateRequest) (*FetchAccountStateResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method FetchAccountState not implemented")
}
func (*UnimplementedClientServiceServer) GetFreeToken(ctx context.Context, req *GetFreeTokenRequest) (*GetFreeTokenResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetFreeToken not implemented")
}
func (*UnimplementedClientServiceServer) GetStakingContractInfo(ctx context.Context, req *StakingContractInfoRequest) (*StakingContractInfoResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetStakingContractInfo not implemented")
}
func RegisterClientServiceServer(s *grpc.Server, srv ClientServiceServer) {
s.RegisterService(&_ClientService_serviceDesc, srv)
}

@ -8,8 +8,6 @@ import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
)
@ -918,14 +916,6 @@ type ClientServiceServer interface {
Process(context.Context, *Message) (*Response, error)
}
// UnimplementedClientServiceServer can be embedded to have forward compatible implementations.
type UnimplementedClientServiceServer struct {
}
func (*UnimplementedClientServiceServer) Process(ctx context.Context, req *Message) (*Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method Process not implemented")
}
func RegisterClientServiceServer(s *grpc.Server, srv ClientServiceServer) {
s.RegisterService(&_ClientService_serviceDesc, srv)
}

@ -8,8 +8,6 @@ import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
)
@ -319,14 +317,6 @@ type DownloaderServer interface {
Query(context.Context, *DownloaderRequest) (*DownloaderResponse, error)
}
// UnimplementedDownloaderServer can be embedded to have forward compatible implementations.
type UnimplementedDownloaderServer struct {
}
func (*UnimplementedDownloaderServer) Query(ctx context.Context, req *DownloaderRequest) (*DownloaderResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Query not implemented")
}
func RegisterDownloaderServer(s *grpc.Server, srv DownloaderServer) {
s.RegisterService(&_Downloader_serviceDesc, srv)
}

Loading…
Cancel
Save