Browse Source

bump rpc version; add consensus version

pull/205/head
Ethan Buchman 9 years ago
parent
commit
ae295bd9b6
3 changed files with 15 additions and 1 deletions
  1. +13
    -0
      consensus/version.go
  2. +1
    -0
      node/node.go
  3. +1
    -1
      rpc/core/version.go

+ 13
- 0
consensus/version.go View File

@ -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)

+ 1
- 0
node/node.go View File

@ -224,6 +224,7 @@ func makeNodeInfo(sw *p2p.Switch, privKey crypto.PrivKeyEd25519) *p2p.NodeInfo {
Other: []string{ Other: []string{
Fmt("wire_version=%v", wire.Version), Fmt("wire_version=%v", wire.Version),
Fmt("p2p_version=%v", p2p.Version), Fmt("p2p_version=%v", p2p.Version),
Fmt("consensus_version=%v", consensus.Version),
Fmt("rpc_version=%v/%v", rpc.Version, rpccore.Version), Fmt("rpc_version=%v/%v", rpc.Version, rpccore.Version),
}, },
} }


+ 1
- 1
rpc/core/version.go View File

@ -2,4 +2,4 @@ package core
// a single integer is sufficient here // 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…
Cancel
Save