versioning

This commit is contained in:
Ethan Buchman
2015-04-22 13:50:37 -07:00
committed by Jae Kwon
parent 7606571d69
commit 0e80059e79
4 changed files with 51 additions and 8 deletions

View File

@ -188,6 +188,7 @@ func makeNodeInfo(sw *p2p.Switch) *types.NodeInfo {
nodeInfo := &types.NodeInfo{
Moniker: config.App().GetString("Moniker"),
Network: config.App().GetString("Network"),
Version: "0.0.1",
}
if !sw.IsListening() {
return nodeInfo