diff --git a/README.md b/README.md index 66d5f9fb4..7e17768dd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ # Tendermint Socket Protocol (TMSP) -**TMSP** is a socket protocol, which means applications can be written in any programming language. +**TMSP** is a socket protocol enabling a consensus engine, running in one process, +to manage an application state, running in another. +Thus the applications can be written in any programming language. + TMSP is an asynchronous protocol: message responses are written back asynchronously to the platform. *Applications must be deterministic.* diff --git a/cmd/counter/main.go b/cmd/counter/main.go index f36394e7d..3e770a43d 100644 --- a/cmd/counter/main.go +++ b/cmd/counter/main.go @@ -4,7 +4,7 @@ import ( "flag" . "github.com/tendermint/go-common" - "github.com/tendermint/tmsp/example" + "github.com/tendermint/tmsp/example/golang" "github.com/tendermint/tmsp/server" ) diff --git a/cmd/dummy/main.go b/cmd/dummy/main.go index fe5077bb5..ce9bf8d0b 100644 --- a/cmd/dummy/main.go +++ b/cmd/dummy/main.go @@ -2,7 +2,7 @@ package main import ( . "github.com/tendermint/go-common" - "github.com/tendermint/tmsp/example" + "github.com/tendermint/tmsp/example/golang" "github.com/tendermint/tmsp/server" ) diff --git a/example/counter.go b/example/golang/counter.go similarity index 100% rename from example/counter.go rename to example/golang/counter.go diff --git a/example/dummy.go b/example/golang/dummy.go similarity index 100% rename from example/dummy.go rename to example/golang/dummy.go diff --git a/example/dummy_test.go b/example/golang/dummy_test.go similarity index 100% rename from example/dummy_test.go rename to example/golang/dummy_test.go