bump rpc version; add consensus version
This commit is contained in:
parent
ae07c0171d
commit
ae295bd9b6
|
@ -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)
|
|
@ -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),
|
||||
},
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue