diff --git a/consensus/version.go b/consensus/version.go new file mode 100644 index 000000000..2acc3b77b --- /dev/null +++ b/consensus/version.go @@ -0,0 +1,13 @@ +package consensus + +import ( + . "github.com/tendermint/go-common" +) + +// kind of arbitrary +var Spec = "1" // async +var Major = "0" // +var Minor = "2" // replay refactor +var Revision = "1" // round state fix + +var Version = Fmt("v%s/%s.%s.%s", Spec, Major, Minor, Revision) diff --git a/node/node.go b/node/node.go index 5ad301800..96010a1a4 100644 --- a/node/node.go +++ b/node/node.go @@ -224,6 +224,7 @@ func makeNodeInfo(sw *p2p.Switch, privKey crypto.PrivKeyEd25519) *p2p.NodeInfo { Other: []string{ Fmt("wire_version=%v", wire.Version), Fmt("p2p_version=%v", p2p.Version), + Fmt("consensus_version=%v", consensus.Version), Fmt("rpc_version=%v/%v", rpc.Version, rpccore.Version), }, } diff --git a/rpc/core/version.go b/rpc/core/version.go index 0890da87a..e283de479 100644 --- a/rpc/core/version.go +++ b/rpc/core/version.go @@ -2,4 +2,4 @@ package core // a single integer is sufficient here -const Version = "2" // add DialSeeds; re-organize type bytes +const Version = "3" // rpc routes for profiling, setting config