add git commit hash to nodeInfo

This commit is contained in:
Ethan Buchman
2015-07-10 15:50:58 +00:00
parent 751b892cba
commit 3f7f3dd37f
10 changed files with 38 additions and 20 deletions

View File

@ -6,9 +6,10 @@ import (
)
type NodeInfo struct {
Moniker string `json:"moniker"`
ChainID string `json:"chain_id"`
Version string `json:"version"`
Moniker string `json:"moniker"`
ChainID string `json:"chain_id"`
Version string `json:"version"`
Revision string `json:"revision"`
Host string `json:"host"`
P2PPort uint16 `json:"p2p_port"`