go-acei

module
v0.0.0-...-00adcb5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2022 License: Apache-2.0

README

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.

Directories

Path Synopsis
Package aceiclient provides an ACEI implementation in Go.
Package aceiclient provides an ACEI implementation in Go.
cmd
crypto
Package server is used to start a new ABCI server.
Package server is used to start a new ABCI server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL