NeoResearch / libbft

A lightweight and multi-language library for byzantine fault tolerance
MIT License
24 stars 3 forks source link

Use yaml for defining state machines #1

Open rodoufu opened 5 years ago

rodoufu commented 5 years ago

Maybe use gopkg.in/yaml.v2

igormcoelho commented 4 years ago

It's a good idea @rodoufu ... only challenge is to describe transition functions, in a general programming language... if we had some basic language, to operate on machine state data on yaml, and being automatically converted to Java, C++, Go, etc.. this would be nice.

rodoufu commented 4 years ago

I was thinking about using gRPC for that, in the yaml description we say the endpoint, the address and maybe the interface to use.