Go implementation of Application Consensus Engine Interface (ACEI).
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.
A detailed description of the ABCI methods and message types is contained in:
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/[email protected]/types/known/emptypb \
-I=${GOPATH}/pkg/mod/github.com/gogo/[email protected] -I=. \
./daotl/acei/*.proto
protoc --gogofaster_out=. --go-grpc_out=. \
-I=${GOPATH}/pkg/mod/google.golang.org/[email protected]/types/known/emptypb \
-I=${GOPATH}/pkg/mod/github.com/gogo/[email protected] -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.
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.