config: cswal_light, mempool_broadcast, mempool_reap

This commit is contained in:
Ethan Buchman
2016-03-01 16:04:19 -05:00
parent 69d906f7dd
commit 3891e4d66d
12 changed files with 51 additions and 7 deletions

View File

@@ -58,8 +58,9 @@ func NewNode(privValidator *types.PrivValidator) *Node {
proxyAppConnMempool := getProxyApp(proxyAddr, state.AppHash)
proxyAppConnConsensus := getProxyApp(proxyAddr, state.AppHash)
// add the chainid to the global config
// add the chainid and number of validators to the global config
config.Set("chain_id", state.ChainID)
config.Set("num_vals", state.Validators.Size())
// Generate node PrivKey
privKey := crypto.GenPrivKeyEd25519()