Skip to content

daotl/go-acei

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-acei

Go implementation of Application Consensus Engine Interface (ACEI).

Installation & Usage

To get up and running quickly, see the getting started guide along with the acei-cli documentation which will go through the examples found in the examples directory.

Specification

A detailed description of the ABCI methods and message types is contained in:

Protocol Buffers

To compile the protobuf file and generate Go code from ACEI Protocol Buffers definitions, run in acei/proto directory:

protoc --gogofaster_out=. --go-grpc_out=. \
  -I=${GOPATH}/pkg/mod/google.golang.org/protobuf@v1.27.1/types/known/emptypb \
  -I=${GOPATH}/pkg/mod/github.com/gogo/protobuf@v1.3.2 -I=. \
  ./daotl/acei/*.proto

protoc --gogofaster_out=. --go-grpc_out=. \
  -I=${GOPATH}/pkg/mod/google.golang.org/protobuf@v1.27.1/types/known/emptypb \
  -I=${GOPATH}/pkg/mod/github.com/gogo/protobuf@v1.3.2 -I=. \
  ./daotl/acei/*.proto \
  ./daotl/acei/consensus/tendermint/*.proto

Or on Windows:

protoc --gogofaster_out=. --go-grpc_out=. ^
  -I=%GOPATH%/pkg/mod/google.golang.org/protobuf@v1.27.1/types/known/emptypb ^
  -I=%GOPATH%/pkg/mod/github.com/gogo/protobuf@v1.3.2 -I=. ^
  ./daotl/acei/*.proto
  
protoc --gogofaster_out=. --go-grpc_out=. ^
  -I=%GOPATH%/pkg/mod/google.golang.org/protobuf@v1.27.1/types/known/emptypb ^
  -I=%GOPATH%/pkg/mod/github.com/gogo/protobuf@v1.3.2 -I=. ^
  ./daotl/acei/consensus/tendermint/*.proto

See protoc --help and the Protocol Buffers site for details on compiling for other languages. Note we also include a GRPC service definition.

License

Apache 2.0

Copyright for portions of this fork are held by Tendermint as part of the original Tendermint Core project. All other copyright for this fork are held by DAOT Labs. All rights reserved.